Phaser API Documentation

  Version: 
getChildren()

Description:

Returns a reference to the array which contains all Game Objects in this Layer.

This is a reference, not a copy of it, so be very careful not to mutate it.

Returns:
Description:

An array of Game Objects within this Layer.

Since: 3.50.0