Emitting limit

I added a chest that emits 16 candies but every time the character collides with the chest it emits another 16 candy. how do i make sure that the chest can only be used once without destroying it? (Just started using flowlab, im not very sure of all components yet) Heres the game, the chest is just called ‘chest’ .


Thank you!!

You can use switches that start as on, then turn off when the candies are emitted.
Alternatively, you can set the object to disable after emitting the candies to make sure that the player can walk through it and yet not emit the candies again.

Thank you!! i used the toggleswitch and it worked :slight_smile: