# Animation

For the current animation export method, please refer to the Conversion Scheme chapter. It cannot be created/modified under the Mini Game Tool. Please export after debugging.

# Main API

play(name?: string, time: number = 0, mode?: WrapMode)

Play animation, you can set to play directly from a certain time, support Loop, Once, PingPong, ClampForever.

pause()

Stop play.

resume()

Continue playing.

stop()

Stopping playback will reset the entire animation.

点击咨询小助手