Phaser API Documentation


Member of: Phaser.Structs.List

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


Passes all children to the given callback.


name type arguments description
callback EachListCallback

The function to call.

context * <optional>

Value to use as this when executing callback.

args * <optional>

Additional arguments that will be passed to the callback, after the child.

Since: 3.0.0
Source: src/structs/List.js (Line 622)