Position (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
mNo edit summary
>Camoy
No edit summary
Line 6: Line 6:
|description = Stores the current location of the object in world coordinates.
|description = Stores the current location of the object in world coordinates.
|object = [[RBX.lua.Part (Object)|Part]], [[RBX.lua.FlagStand (Object)|FlagStand]], [[RBX.lua.Explosion (Object)|Explosion]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]
|object = [[RBX.lua.Part (Object)|Part]], [[RBX.lua.FlagStand (Object)|FlagStand]], [[RBX.lua.Explosion (Object)|Explosion]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]
|}}
There is also a Size property that is used in 2D instances, like GUIs.
{{Property|
name = Position
|property = [[UDim2]] ''Position''
|description = Sets the position of the GUI object in object coordinates.
|object = [[RBX.lua.StarterGui (Object)|StarterGui]], [[RBX.lua.PlayerGui (Object)|PlayerGui]], [[RBX.lua.Frame (Object)|Frame]], [[RBX.lua.TextLabel (Object)|TextLabel]], [[RBX.lua.TextButton (Object)|TextButton]], [[RBX.lua.TextBox (Object)|TextBox]], [[RBX.lua.ImageLabel (Object)|ImageLabel]], [[RBX.lua.ImageButton (Object)|ImageButton]]
|}}
|}}


[[Category:Properties]]
[[Category:Properties]]

Revision as of 23:25, 6 April 2010

Position
Property Vector3 Position
Description Stores the current location of the object in world coordinates.
Member of [[RBX.lua.Part, FlagStand, Explosion, Seat, SpawnLocation (Object)|Part, FlagStand, Explosion, Seat, SpawnLocation]]

There is also a Size property that is used in 2D instances, like GUIs.

Position
Property UDim2 Position
Description Sets the position of the GUI object in object coordinates.
Member of [[RBX.lua.StarterGui, PlayerGui, Frame, TextLabel, TextButton, TextBox, ImageLabel, ImageButton (Object)|StarterGui, PlayerGui, Frame, TextLabel, TextButton, TextBox, ImageLabel, ImageButton]]