Phaser API Documentation

  Version: 
nextGroup([isNonColliding])

Description:

Returns the next unique group index for which bodies will collide. If isNonColliding is true, returns the next unique group index for which bodies will not collide.

Parameters:

name type arguments Default description
isNonColliding boolean <optional> false

If true, returns the next unique group index for which bodies will not collide.

Returns:
Description:

Unique category bitfield

Type:
  • number
Since: 3.0.0