MoveTo (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Anaminus
No edit summary
Line 4: Line 4:
|returns = n/a
|returns = n/a
|description = Moves the object and all children to the destination
|description = Moves the object and all children to the destination
|object = [[RBX.Lua.Model|Model]]
|object = [[RBX.Lua.Model (Object)|Model]], [[RBX.Lua.Workspace (Service)|Workspace]]
|}}
 
 
----
 
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 the location <!-- I don't know why a Part is needed -->
|object = [[RBX.Lua.Humanoid (Object)|Humanoid]]
|}}
|}}

Revision as of 19:46, 6 August 2008

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 the location