Phaser API Documentation

  Version: 
sortProperty: string

Description:

Optionally sort the particles before they render based on this property. The property must exist on the Particle class, such as y, lifeT, scaleX, etc.

When set this overrides the particleBringToTop setting.

To reset this and disable sorting, so this property to an empty string.

Type:
string
Since: 3.60.0