MoveTo (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Ajedi32
m corrected grammer error
>GoldenUrg
initial from wiki
Line 1: Line 1:
{{Function|
{|
name = MoveTo
|{{:MoveTo (Function)/model}}
|arguments = [[Vector3]] ''Destination''
|-
|returns = n/a
|There is also a separate ''MoveTo'' function exclusively for the [[RBX.lua.Humanoid (Object)|Humanoid]] object.
|description = Moves the object and all children to the destination
|-
|object = [[RBX.lua.Model (Object)|Model]], [[RBX.lua.Workspace (Service)|Workspace]]
|{{:MoveTo (Function)/humanoid}}
|}}
|}
 
 
----
 
There is also a separate ''MoveTo'' function exclusively for the [[RBX.lua.Humanoid (Object)|Humanoid]] object.
 
{{Function|
name = MoveTo
|arguments = [[Vector3]] ''location'', [[Instance]] ''part''
|returns = n/a
|description = Causes the character of the humanoid to move to the location <!-- I don't know why a Part is needed -->
|object = [[RBX.lua.Humanoid (Object)|Humanoid]]
|}}

Revision as of 15:22, 12 June 2010

MoveTo (Function)/model
There is also a separate MoveTo function exclusively for the Humanoid object.
MoveTo (Function)/humanoid