Anchored (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
m Anchored moved to Anchored (Property)
>Flurite
No edit summary
 
(37 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Property|
{{CatUp|Properties}}
name = Anchored
 
|property = [[Bool]] ''is anchored''
<onlyinclude>{{Property
|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 = [[RBX.Lua.FlagStand (Object)|Flagstand]], [[RBX.Lua.Part (Object)|Part]], [[RBX.Lua.Seat (Object)|Seat]], [[RBX.Lua.SpawnLocation (Object)|SpawnLocation]]|}}
|object = BasePart
}}</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]]

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