World#forEachExists()

forEachExists(callback, callbackContext, args)

Call a function on each existing child in this group.

See forEach for details.

Parameters
Name Type Argument Default Description
callback function

The function that will be called for each applicable child. The child will be passed as the first argument.

callbackContext object

The context in which the function should be called (usually 'this').

args any <optional>
<repeatable>
(none)

Additional arguments to pass to the callback function, after the child item.

Inherited From
Source code: core/Group.js (Line 1771)
doc_phaser
2017-02-14 11:20:55
Comments
Leave a Comment

Please login to continue.