Difference between revisions of "B2.ParticleSystem:containsParticle"
From GiderosMobile
 (Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Returns true of particle is within the particle system <source lang="lua"> (boolean), = b2.ParticleSys...")  | 
				|||
| Line 4: | Line 4: | ||
Returns true of particle is within the particle system  | Returns true of particle is within the particle system  | ||
<source lang="lua">  | <source lang="lua">  | ||
| − | (boolean)  | + | (boolean) = b2.ParticleSystem:containsParticle(id)  | 
</source>  | </source>  | ||
| − | '''id  | + | '''id''': (number) Particle id ''''''<br/>  | 
'''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 10:20, 23 August 2018
Available since: in development
Description
Returns true of particle is within the particle system
(boolean) = b2.ParticleSystem:containsParticle(id)
'id: (number) Particle id '
Returns (boolean) True if the particle is within the particle system else false.