MoveTo is not a valid member of part?

so uh, whenever a remote fires i want the part to move to a position
This is the line of code where it errors:

E:MoveTo(pos)

‘E’ is a part and ‘pos’ is the position, however it keeps saying that MoveTo is not a valid member of part…
I tried printing pos and this is the output:

-32.900650024414, 0, -7.7325716018677

Thanks!

MoveTo is for models
For parts use:
part.Position = pos

I want it to smoothly go to the position though, wont that just immidietly teleport it there?

Nvm i could just use tweening

2 Likes