Motion
Get Motion

ReferenceScripting APISpriteComponentstopAnimating

SpriteComponent.stopAnimating

method

Stops its layer's moves.

NamestopAnimating
Kindmethod of SpriteComponent
Called asspriteComponent.stopAnimating(…)
Since0.4

Syntax

stopAnimating(key?: string): void

Parameters

NameTypeDescription
keystringOptional. The setting (every move unless given)

Returns

Nothing.