Position (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer No edit summary |
>Mr Doom Bringer No edit summary |
||
Line 7: | Line 7: | ||
|When used in 2D GUI objects, such as [[RBX.lua.TextButton (Object)|TextButton]]s, this property is a [[UDim2]] instead. This is because 2D 'HUD' objects need to be placed differently on the screen than 3D 'World' objects. | |When used in 2D GUI objects, such as [[RBX.lua.TextButton (Object)|TextButton]]s, this property is a [[UDim2]] instead. This is because 2D 'HUD' objects need to be placed differently on the screen than 3D 'World' objects. | ||
|- | |- | ||
|{{:Position (Property/UDim2}} | |{{:Position (Property)/UDim2}} | ||
|} | |} | ||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 22:49, 13 May 2010
When used in 3D objects, such as Parts and other items, this property is a Vector3. |
When used in 2D GUI objects, such as TextButtons, this property is a UDim2 instead. This is because 2D 'HUD' objects need to be placed differently on the screen than 3D 'World' objects. |