Anchored (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer No edit summary |
>Flurite No edit summary |
||
(22 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Properties}} | {{CatUp|Properties}} | ||
<onlyinclude>{{Property | |||
<onlyinclude> | |name = Anchored | ||
{{Property| | |type = {{type|bool}} | ||
name = Anchored | |||
| | |||
|description = Sets whether or not the object is frozen in place. | |description = Sets whether or not the object is frozen in place. | ||
|object = | |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 == | |||
*[[Anchor]] | |||
[[Category:Properties]] | [[Category:Properties]] |