Difference between revisions of "ParticleSystem:getCount"

Line 13: Line 13:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the amount of particles that are currently in the system.}}
+
{{#set:Description=Gets the number of particles that are currently in the system.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:getCount}}
 
{{i18n|ParticleSystem:getCount}}

Revision as of 23:23, 4 September 2013

Available since LÖVE 0.9.0
It has been renamed from ParticleSystem:count.

Gets the number of particles that are currently in the system.

Function

Synopsis

count = ParticleSystem:getCount( )

Arguments

None.

Returns

number count
The current number of live particles.

See Also

Other Languages