How to play a particlesystem with code

i don’t know how to play particleSystems with code, pls help. :slight_smile:

There are methods on the particle system component that you can use https://developer.playcanvas.com/en/api/pc.ParticleSystemComponent.html#isPlaying

1 Like

and a code example is here
http://playcanvas.github.io/#graphics/particles-sparks.html

2 Likes