ReferenceScripting APIMotemoveTo
Mote.moveTo
methodMoves it there over seconds, eased.
| Name | moveTo |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).moveTo(…) |
| As a node | Move Mote To (logic graph) |
| Since | 0.3 |
Syntax
moveTo( target: Place, options?: { seconds?: number; easing?: "linear" | "easeIn" | "easeOut" | "easeInOut" }): Promise<void>Parameters
| Name | Type | Description |
|---|---|---|
target | Place | Where to |
options | { seconds?: number; easing?: "linear" | "easeIn" | "easeOut" | "easeInOut" } | Optional. Seconds (1) and easing ("easeInOut") |
Returns
Promise<void>: a promise of its arriving.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.