ReferenceScripting APIMoteonHit
Mote.onHit
methodIts body started touching another's.
| Name | onHit |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).onHit(…) |
| As a node | On Mote Hit (logic graph) |
| Since | 0.3 |
Syntax
onHit(other: Mote): voidParameters
| Name | Type | Description |
|---|---|---|
other | Mote | The other mote |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.