MoveTo (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
mNo edit summary
>Ajedi32
m corrected grammer error
Line 16: Line 16:
|arguments = [[Vector3]] ''location'', [[Instance]] ''part''
|arguments = [[Vector3]] ''location'', [[Instance]] ''part''
|returns = n/a
|returns = n/a
|description = Causes the character of the humanoid to the location <!-- I don't know why a Part is needed -->
|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]]
|object = [[RBX.lua.Humanoid (Object)|Humanoid]]
|}}
|}}

Revision as of 06:18, 5 January 2009

MoveTo( Vector3 Destination )
Returns n/a
Description: Moves the object and all children to the destination



There is also a separate MoveTo function exclusively for the Humanoid object.

MoveTo( Vector3 location, Instance part )
Returns n/a
Description: Causes the character of the humanoid to move to the location