Event called 2 times during delay doesn't come to end

Hello, I’ve got this Actor blueprint that basically sets a black material to a Monitor when the event is fired and sets it back to the original after 2 seconds.

The problem is that if I fire this event while the monitor is in the delay (so is shutted down), it doesn’t come back to the original material and stays turned off forever.

The Delay node ignores any input until it’s finished counting. So if you call it again within those 2 seconds, nothing after the delay will happen for the second time.

Since I set “Is Active” to false when the sequence is running, this shouldnt prevent from delay being called again until it’s finished (when it finish the variable comes back to True and the Branch should go again in True)

No, that’s just the Delay’s nature. No matter what you do, you can’t call the same Delay node again in the same actor until it’s finished.

Edit: in your case I believe you cau use a Retriggerable Delay; it will only work the last time you call it.

Retriggerable Delay was not working in my case. I managed to solve it by adding a variable called “Is running” that goes True when the event is fired and comes back to False when delay is finished, and outside the event won’t fire if the variable “Is running” is still True, so the even’t can’t be called when a Delay inside is active. Thank you very much for the tips