StudsOffset (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy No edit summary |
>Camoy No edit summary |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Property | |||
|name = StudsOffset | |||
|property = [[Vector3]] ''Offset'' | |||
name = StudsOffset | |||
|property = [[Vector3]] ''Offset'' | |||
|description = Sets the offset of a GUI in studs. | |description = Sets the offset of a GUI in studs. | ||
|object = | |object = BillboardGui | ||
}}</onlyinclude> | |||
|} | |||
{{clear floats}} | |||
{{Example|In a [[Script]] or [[LocalScript]].<pre> | |||
local b = Instance.new("BillboardGui") | |||
b.StudsOffset = Vector3.new(0, 5, 0) | |||
b.Parent = game.StarterGui</pre>}} | |||
[[Category:Properties]] | [[Category:Properties]] |
Latest revision as of 02:01, 29 January 2011
![]() | |
Property | Vector3 Offset |
Description | Sets the offset of a GUI in studs. |
Member of | BillboardGui |
Example
In a Script or LocalScript.local b = Instance.new("BillboardGui") b.StudsOffset = Vector3.new(0, 5, 0) b.Parent = game.StarterGui