MoveTo (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Ajedi32
m corrected grammer error
>Camoy
boom fixed
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|
#REDIRECT [[MoveTo_(Method)]]
name = MoveTo
|arguments = [[Vector3]] ''Destination''
|returns = n/a
|description = Moves the object and all children to the destination
|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 move to the location <!-- I don't know why a Part is needed -->
|object = [[RBX.lua.Humanoid (Object)|Humanoid]]
|}}

Latest revision as of 21:11, 23 January 2011

Redirect to: