ReferenceScripting APIMoteattachTo
Mote.attachTo
methodMakes it move with another (null: on its own again), keeping where it is now.
| Name | attachTo |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).attachTo(…) |
| As a node | Attach Mote (logic graph) |
| Since | 0.3 |
Syntax
attachTo(parent: Mote | null): voidParameters
| Name | Type | Description |
|---|---|---|
parent | Mote | null | The mote to move with |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.