Skip to content

MoveTo

Description

MoveTo is a Function on Object
Tells this object to move to a given position over a given amount of time. Calling this again while the object is still moving from a previous call will cancel the original one.

Example
Object.MoveTo(Vector3.New(1, 1, 1), 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: None
parameters:
- position (Vector3)
- time (float)