Phaser API Documentation

  Version: 
getAllComposites()

Description:

Returns all the composites in the Matter World, including all composites in children, recursively.

Returns:
Description:

An array of all the Matter JS Composites in this World.

Type:
  • Array.<MatterJS.CompositeType>
Since: 3.22.0