ReferenceScripting APIMotionStageApifindAll
MotionStageApi.findAll
methodEvery mote of a class (its subclasses' too).
| Name | findAll |
|---|---|
| Kind | method of MotionStageApi |
| Called as | stage.findAll(…) |
| As a node | Get Motes of Class (logic graph) |
| Since | 0.3 |
Syntax
findAll<M extends Mote>(cls: string | () => M): M[]Parameters
| Name | Type | Description |
|---|---|---|
cls | string | () => M | The class, or its name |
Returns
M[]: the motes.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.