Motion
Get Motion

ReferenceScripting APIMotionStageApifindAll

MotionStageApi.findAll

method

Every mote of a class (its subclasses' too).

NamefindAll
Kindmethod of MotionStageApi
Called asstage.findAll(…)
As a nodeGet Motes of Class (logic graph)
Since0.3

Syntax

findAll<M extends Mote>(cls: string | () => M): M[]

Parameters

NameTypeDescription
clsstring | () => MThe class, or its name

Returns

M[]: the motes.