Returns the number of particles presently created in a given system.


GML Code Example


Argument Description
ind The index of the particle system.

Returns: Real


With this function you can check to see if a particle system currently has any particles created in the room, and it will return the number of them too.


GML Code Example

if part_particles_count(Sname) = 0

The above code will check the number of particles in the local particle system indexed in the variable "Sname" and if there are none, it will destroy the system and then the instance.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here