|
|
(4 intermediate revisions by 3 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]]
| |
| |}}
| |