Motion
Get Motion

ReferenceScripting APIMotesetVelocity

Mote.setVelocity

method

Gives its body a speed.

NamesetVelocity
Kindmethod of Mote
Called asscene.pickItem(…).setVelocity(…)
As a nodeSet Mote Velocity (logic graph)
Since0.3

Syntax

setVelocity(v: Place): void

Parameters

NameTypeDescription
vPlaceThe speed, each way

Returns

Nothing.

Remarks

A mote without a body (or destroyed) does nothing, and the console says so once.