# How do I get around using Event Tick in this Widget?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757>\
**Category:** UI\
**Tags:** event-tick, timer, unreal-engine, Widget, Blueprint, question\
**Created:** [August 21, 2021, 12:57am UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757 "2021-08-21T00:57:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 12:57am UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/1 "2021-08-21T00:57:59Z")

</div>

![346842-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/5/be50478bc06c8434581773c6d8df6ef5d0641b6a.png)

I’ve been able to get a “Press Any Key to Continue” feature to work using Event Tick in this Loading Screen Widget.

I always try to get rid of Event Tick as is best practice, but all my usual method of setting a timer, listening for input action, and such are not functioning. I may just be setting them wrong, I’ll give an example below.

 ![346843-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/2/7c2ef5838daa0a93774398b746452bf86658f827.png)

What is a better way of doing this?

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 4:43am UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/3 "2021-08-21T04:43:54Z")

</div>

I tried On Key Down, but that did not seem to make any noticeable change to the situation. I’ll try On Preview Key Down to see if that does anything different.

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 4:48am UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/4 "2021-08-21T04:48:40Z")

</div>

Tried it. Same results. No feedback whatsoever.

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 5:17am UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/6 "2021-08-21T05:17:14Z")

</div>

![346844-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/2/34252383f092bb21c269502018de122344562c51.png)

It is definitely focusable.

Would the Event Tick method work if it was not?

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 21, 2021, 1:58pm UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/7 "2021-08-21T13:58:28Z")

</div>

Widget creation:

 ![346873-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/8/2f8b29a639782e8273930fa1e0c482552c4809cf.png)

Widget Is Focusable:

 ![346874-1b.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/3/5f3caae76636b247a4237b1899cffbf24e94008b.png)

Custom event in the widget:

 ![346875-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/8/ef836fc4e9a9a066debd07048075221b688e1860.png)

Calling event when any key pressed, by overring On Key Down:

 ![346876-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/b/61b160b7456fa8879b2475155f8989297499ff38.png)

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 8:44pm UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/8 "2021-08-21T20:44:50Z")

</div>

![346905-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/8/8982719db21666324725a59e8110724d5afb9ef8.png)

 ![346906-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/9/f996c0d4cb14c841a96a5dbf1901652fe7928005.png)

 ![346907-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/c/c8c19a869f782a7fdfe7281b3b5b6b32058b0590.png)

Does that look right? The result is no feedback whatsoever, not even in Blueprint. Hooking Event Tick back up still works perfectly.

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 21, 2021, 9:09pm UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/9 "2021-08-21T21:09:22Z")

</div>

Remove the node and branch “Was Input Key Just Pressed”. So connect the “KeyPressed” directly to “Do Once”.

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [August 21, 2021, 9:21pm UTC](https://forums.unrealengine.com/t/how-do-i-get-around-using-event-tick-in-this-widget/487757/10 "2021-08-21T21:21:02Z")

</div>

Fantastic! This worked out. Thanks for the assist!
