Difference between revisions of "B2.ParticleSystem:containsParticle"

From GiderosMobile
Line 6: Line 6:
 
(boolean) = b2.ParticleSystem:containsParticle(id)
 
(boolean) = b2.ParticleSystem:containsParticle(id)
 
</source>
 
</source>
'''id''': (number) Particle id ''''''<br/>
+
=== Parameters ===
 +
'''id''': (number) Particle id <br/>
 +
=== Return values ===
 
'''Returns''' (boolean) True if the particle is within the particle system else false.<br/>
 
'''Returns''' (boolean) True if the particle is within the particle system else false.<br/>

Revision as of 11:45, 23 August 2018

Available since: in development

Description

Returns true of particle is within the particle system

(boolean) = b2.ParticleSystem:containsParticle(id)

Parameters

id: (number) Particle id

Return values

Returns (boolean) True if the particle is within the particle system else false.