Phaser API Documentation

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

Description:

Passes all Tweens to the given callback.

Parameters:

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