Position (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer No edit summary |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
{| | {| | ||
|When used in 3D objects, such as [[Part]]s and other items, this property is a [[Vector3]]. | |When used in 3D objects, such as [[Part]]s and other items, this property is a [[Vector3]]. | ||
Line 5: | Line 4: | ||
|{{:Position (Property)/Vector3}} | |{{:Position (Property)/Vector3}} | ||
|- | |- | ||
|When used in 2D GUI objects, such as [[ | |When used in 2D GUI objects, such as [[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}} |
Revision as of 14:46, 29 January 2011
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. | ||||||||
Note, the lowercase property operates differently. Rather than setting the location of an object, the lowercase position property specifies a goal location for that object. | ||||||||
|