Phaser API Documentation

  Version: 
vertexAvailable()

Description:

Returns the number of vertices that can be added to the current batch before it will trigger a flush to happen.

Returns:
Description:

The number of vertices that can still be added to the current batch before it will flush.

Type:
  • number
Since: 3.60.0