Anchored (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy Base class in object parameter |
>Flurite No edit summary |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 3: | Line 3: | ||
<onlyinclude>{{Property | <onlyinclude>{{Property | ||
|name = Anchored | |name = Anchored | ||
| | |type = {{type|bool}} | ||
|description = Sets whether or not the object is frozen in place. | |description = Sets whether or not the object is frozen in place. | ||
|object = BasePart | |object = BasePart | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}} | |||
== Example == | |||
This code, assuming there is a [[RBX.lua.Part (Object)|Part]] named "Part" in the [[RBX.lua.Workspace (Object)|Workspace]] service, would anchor that part. | |||
{{ | {{code|=game.Workspace.Part.Anchored = true}} | ||
== See Also == | == See Also == |