# Delay each custom event call by x seconds

**URL:** <https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 26, 2021, 2:37am UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720 "2021-09-26T02:37:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holloweyee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/holloweyee/32/88706_2.png) [@Holloweyee](https://forums.unrealengine.com/u/Holloweyee)\
**Post date:** [September 26, 2021, 2:37am UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720/1 "2021-09-26T02:37:34Z")

</div>

So I have a custom event that I would like to start with a x-seconds delay before performing its code.

Example 1:  
 ![Example1](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/d/ed2bc5cd7a88bdb4aefdc1bfa4e6ee5e3305e5c3.png)

Example 2:  
 ![Example2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/e/6e7e790bd857125700d7e668623f81613651b4ae.png)

Both Example 1 & 2 wait 1 second and then perform the print. But it only prints once regardless of how many calls are performed to the custom event. It only prints the last index. It does not delay each call with 1 second, just the last call.

It seems like both delay and SetTimer are reset if another call is performed before the timer / delay is finished.

But I would like it to delay each call with 1 second. So it should print for each call but with 1 second delay.

---

<div class="post-metadata">

**Author:** ![NeoTactical](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NeoTactical](https://forums.unrealengine.com/u/NeoTactical)\
**Post date:** [September 26, 2021, 5:34am UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720/2 "2021-09-26T05:34:53Z")

</div>

How are you generating your Index? We cannot assume/predict the error without seeing certain details the lead up to the execution.

---

<div class="post-metadata">

**Author:** ![Holloweyee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/holloweyee/32/88706_2.png) [@Holloweyee](https://forums.unrealengine.com/u/Holloweyee)\
**Post date:** [September 26, 2021, 7:24am UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720/3 "2021-09-26T07:24:57Z")

</div>

Just a basic for-loop

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 26, 2021, 3:03pm UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720/4 "2021-09-26T15:03:45Z")

</div>

Accumulate the requests in a variable, and have the timer decrease that value:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/f/7f2eda691a61d4dc348d7e9827cc081e208a6a3a.png)

---

<div class="post-metadata">

**Author:** ![17lhf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@17lhf](https://forums.unrealengine.com/u/17lhf)\
**Post date:** [January 9, 2023, 1:42pm UTC](https://forums.unrealengine.com/t/delay-each-custom-event-call-by-x-seconds/252720/5 "2023-01-09T13:42:06Z")

</div>

Hi, I get the same problem as example 1, can you tell me how to fix it?
