Condition to check if event happens x time in a row?

Condition to check if event or action happens x time in a row? What I want is, if the character collides with the bullet 3 times in a row or so, then he falls. How to do this?

Sounds as a simple problem of logic, should be several ways to do it (always with a variable I think), but what effect do you want to achieve exactly? :slight_smile:

Sorry I thing I figured out a way myself. I thing I have started to understand GDevelop’s logic better now. But what I want is If my character is attacked by bullet 3 times in a raw then it should fall other wise it shoudd play the under attack animation (Standing). I think I can do it by Variable and timer.!!!

Ok, great! :smiley: