Here's the setup I'm going for:
When the mouse hovers over a sprite, the sprite spawns particles. When the mouse is NOT over the sprite, it DOES NOT spawn particles.
I can get the particles to work, & I can get them to appear when the mouse is over the sprite by using this event:
Mouse|Cursor is over Sprite|Sprite|Spawn Particles on Layer0 (Image point1)
But when I move the mouse away, the sprite is still spitting out particles. How do I turn it off?
Just after the event where you start to spawn particules, put an "Else" => Particles->Destroy
that's what I needed
Develop games in your browser. Powerful, performant & highly capable.
Well, not sure if it was you, but there was a similar topic a second ago and I made an example. Here is my answer, as the topic has been deleted, and you have the same problem (if anyone searches for it someday)
Here is an example.
You do the following :