In my game, my character would lose health and become invulnerable in 3 seconds if enemies touches him. My solution is using a boolean variable "IsVulnerable" and set it to false when the character collides with enemies. Then, I call System-> Wait for 3 seconds and set it to true again. The character also has the ability to create a shield that makes him invulnerable in 8 seconds, for which I use the same method. The problem is, if he touches enemies and get invulnerable, then activates his shield 1 second later, he would be vulnerable again after 2 seconds instead of 8 due to the action following "Wait for 3 seconds" action. To solve this, I'm looking for a way to discard the waiting process, but haven't found yet. Is it possible?