PivotTo() & MoveTo()

What are the differences between PivotTo() and MoveTo()? I couldn’t find any real useful information here on the developer forum, or on the documentation pages. I asked a friend and they couldn’t provide any useful help to me, so I am coming here. I use PivotTo() purely because I’ve been told to, but I was mainly just wondering is it better to use PivotTo() or MoveTo(), and the pros and cons.

It is just 3 googles away. PivotTo() / MoveTo() / MoveTo() (For Humanoids)

2 Likes

moveto gets an npc to walk to a position and pivot to moves a parts/models cframe

You’re wrong. Its :Move() not :MoveTo(). (kind of, depends on what instance your using.) For humanoids :Move() and :MoveTo() makes them move while for model :MoveTo() just moves the model.

PivotTo() ignores collisions when setting the positions of parts or models, while MoveTo() is used mainly for Humanoids to make them walk to a certain location.

:Move is deprecated, it’s better to use :MoveTo

Key differences between PivotTo and MoveTo: