Motion
Get Motion

ReferenceScripting APIMoteattachTo

Mote.attachTo

method

Makes it move with another (null: on its own again), keeping where it is now.

NameattachTo
Kindmethod of Mote
Called asscene.pickItem(…).attachTo(…)
As a nodeAttach Mote (logic graph)
Since0.3

Syntax

attachTo(parent: Mote | null): void

Parameters

NameTypeDescription
parentMote | nullThe mote to move with

Returns

Nothing.