Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

is there a difference between Instance.Position.X and Instance.Position.x?

you can use lowercase when getting coordinates of an instances position and i wanted to know if it was deprecated or something

2 answers

I think the reason behind it is the same as :connect() and :Connect(). The former was the older version and is preserved for backwards compatibility, and was changed to the latter for aesthetic reasons.

3 comments

0

so X is the one to use now?

0

Neither is deprecated. They're both right.

0

oh, i thought you meant as the same as :connect() and :Connect() as in one is deprecated. sorry ;D

I'm not sure about this but there is a difference some people don't know this but Roblox's scripting language is Lua which is very sensitive so if you miss a capital then your script is gonna error

1 comment

0

Well excuse me :(

This discussion is preserved as it was. New answers, comments, and votes are closed.