Motion
Get Motion

ReferenceScripting APIMotemoveTo

Mote.moveTo

method

Moves it there over seconds, eased.

NamemoveTo
Kindmethod of Mote
Called asscene.pickItem(…).moveTo(…)
As a nodeMove Mote To (logic graph)
Since0.3

Syntax

moveTo(    target: Place,    options?: { seconds?: number; easing?: "linear" | "easeIn" | "easeOut" | "easeInOut" }): Promise<void>

Parameters

NameTypeDescription
targetPlaceWhere to
options{ seconds?: number; easing?: "linear" | "easeIn" | "easeOut" | "easeInOut" }Optional. Seconds (1) and easing ("easeInOut")

Returns

Promise<void>: a promise of its arriving.