Motion
Get Motion

ReferenceScripting APIMoteonClicked

Mote.onClicked

method

It was clicked.

NameonClicked
Kindmethod of Mote
Called asscene.pickItem(…).onClicked(…)
As a nodeOn Click (logic graph)
Since0.3

Syntax

onClicked(hit: MotionHit): void

Parameters

NameTypeDescription
hitMotionHitWhere (the scene's pixels and 0 to 1) and with which button

Returns

Nothing.

See also

MotionHit