ReferenceScripting APIMoteonTick
Mote.onTick
methodEach of its ticks (as often as its ticking says).
| Name | onTick |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).onTick(…) |
| As a node | On Tick (logic graph) |
| Since | 0.3 |
Syntax
onTick(dt: number): voidParameters
| Name | Type | Description |
|---|---|---|
dt | number | Seconds since its last tick |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.