Phaser API Documentation

  Version: 
pause([atFrame])

Description:

Pause the current animation and set the isPlaying property to false. You can optionally pause it at a specific frame.

Parameters:

name type arguments description
atFrame Phaser.Animations.AnimationFrame <optional>

An optional frame to set after pausing the animation.

Returns:
Description:

The Game Object that owns this Animation Component.

Since: 3.0.0