Phaser API Documentation

each(callback, [scope], [args])


Passes all Tweens to the given callback.


name type arguments description
callback function

The function to call.

scope object <optional>

The scope (this object) to call the function with.

args * <optional>

The arguments to pass into the function. Its first argument will always be the Tween currently being iterated.

Since: 3.0.0