MoveTo (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy cat |
>PurpleKiwi Added examples |
||
Line 1: | Line 1: | ||
{| | {| | ||
|{{:MoveTo (Method)/model}} | |{{:MoveTo (Method)/model}} | ||
|{{Example|<pre>Workspace.Player:MoveTo(Vector3.new(0,100,0))</pre>}} | |||
|- | |- | ||
|There is also a separate ''MoveTo'' method exclusively for the [[Humanoid]] object. | |There is also a separate ''MoveTo'' method exclusively for the [[Humanoid]] object. | ||
|- | |- | ||
|{{:MoveTo (Method)/humanoid}} | |{{:MoveTo (Method)/humanoid}} | ||
|{{Example|<pre>Workspace.Player.Humanoid:MoveTo(Workspace.Part.Position,Workspace.Part)</pre>}} | |||
|} | |} | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 22:36, 1 August 2011
Example Workspace.Player:MoveTo(Vector3.new(0,100,0)) | |
There is also a separate MoveTo method exclusively for the Humanoid object. | |
Example Workspace.Player.Humanoid:MoveTo(Workspace.Part.Position,Workspace.Part) |