Anyway to check the 'type' of a property?

Basically, each property has a ‘input type’, those can be, a instance, a bool, a string etc.

But… Thing is, how would I know what is the type of the input which that property receives?

For example:

local Property = workspace['Part'].Transparency

print(Property.Type) --> Number

You can use typeof:

local Property = workspace.Baseplate.Transparency
print(typeof(Property)) --> number
1 Like

I can’t believe it could be that simple… Well, thank you for solving, I guess…

This method doesn’t work if the value is nil, such as in the case of optional object values