ReferenceScripting APIMoteonClicked
Mote.onClicked
methodIt was clicked.
| Name | onClicked |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).onClicked(…) |
| As a node | On Click (logic graph) |
| Since | 0.3 |
Syntax
onClicked(hit: MotionHit): voidParameters
| Name | Type | Description |
|---|---|---|
hit | MotionHit | Where (the scene's pixels and 0 to 1) and with which button |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.