Phaser API Documentation

  Version: 
getTotalFree()

Description:

The difference of Phaser.GameObjects.Group#maxSize and the number of active group members.

This represents the number of group members that could be created or reactivated before reaching the size limit.

Returns:
Description:

maxSize minus the number of active group numbers; or a large number (if maxSize is -1).

Type:
  • number
Since: 3.0.0