Motion
Get Motion

ReferenceScripting APIStagefind

Stage.find

method

The first mote of a class.

Namefind
Kindmethod of Stage
Called asstage.find(…)
Since0.3

Syntax

find<M extends Mote>(cls: string | () => M): M | null

Parameters

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

Returns

M | null: the mote, or null.