Hello!
I'm trying to set up an image that spawns/despawns a particle when touched.
This is the code I have. When I touch it, it spawns properly, but once I touch it again it doesn't get destroyed.
You check is fire and then set it to false, instantly making
X is fire true and resetting it to true.
Use an Else and it should work fine :)
This Video will go into more detail if you need:
Try adding Else to the "X is fire"
Develop games in your browser. Powerful, performant & highly capable.
KryptoPixel winstreak
Thank you very much! this worked!