Phaser API Documentation

  Version: 
removeMix(animA, [animB])

Description:

Removes a mix between two animations.

Mixing allows you to specify a unique delay between a pairing of animations.

Calling this method lets you remove those pairings. You can either remove it between animA and animB, or if you do not provide the animB parameter, it will remove all animA mixes.

If you wish to update an existing mix instead, call the addMix method with the new delay.

Parameters:

name type arguments description
animA string | Phaser.Animations.Animation

The string-based key, or instance of, Animation A.

animB string | Phaser.Animations.Animation <optional>

The string-based key, or instance of, Animation B. If not given, all mixes for Animation A will be removed.

Returns:
Description:

This Animation Manager.

Since: 3.50.0