Anchored (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>Flurite
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 3: Line 3:
<onlyinclude>{{Property
<onlyinclude>{{Property
|name = Anchored
|name = Anchored
|property = {{type|Bool}}
|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
Line 9: Line 9:
{{clear floats}}
{{clear floats}}


== Example ==


{{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 lua>game.Workspace.Part.Anchored = true</code>
}}


{{code|=game.Workspace.Part.Anchored = true}}


== See Also ==
== See Also ==

Latest revision as of 01:33, 16 March 2012

Anchored
Type bool
Description Sets whether or not the object is frozen in place.
Member of BasePart


Example

This code, assuming there is a Part named "Part" in the Workspace service, would anchor that part.

game.Workspace.Part.Anchored = true

See Also