Motion
Get Motion

ReferenceScripting APIMoteonHit

Mote.onHit

method

Its body started touching another's.

NameonHit
Kindmethod of Mote
Called asscene.pickItem(…).onHit(…)
As a nodeOn Mote Hit (logic graph)
Since0.3

Syntax

onHit(other: Mote): void

Parameters

NameTypeDescription
otherMoteThe other mote

Returns

Nothing.