# Count seconds passed

**URL:** <https://forums.unrealengine.com/t/count-seconds-passed/475700>\
**Category:** Character & Animation\
**Tags:** event-tick, unreal-engine, question\
**Created:** [December 10, 2020, 10:45am UTC](https://forums.unrealengine.com/t/count-seconds-passed/475700 "2020-12-10T10:45:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soleniah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soleniah](https://forums.unrealengine.com/u/Soleniah)\
**Post date:** [December 10, 2020, 10:45am UTC](https://forums.unrealengine.com/t/count-seconds-passed/475700/1 "2020-12-10T10:45:41Z")

</div>

Hello there, I 'm making a mode in my game where I want to count how many seconds my character is not moving. For example, if he is not moving for 3 seconds, do something. I tried promoting to variable the event tick, but it changes every time event tick is called. Any Ideas?  
Event ticks every 1 sec.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [December 10, 2020, 10:49am UTC](https://forums.unrealengine.com/t/count-seconds-passed/475700/2 "2020-12-10T10:49:16Z")

</div>

One way:

 ![324453-screenshot-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/5/ef5bcef3ff20f62372dc0f293b91b36d87a23b45.jpeg)

---

<div class="post-metadata">

**Author:** ![Soleniah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soleniah](https://forums.unrealengine.com/u/Soleniah)\
**Post date:** [December 10, 2020, 11:01am UTC](https://forums.unrealengine.com/t/count-seconds-passed/475700/3 "2020-12-10T11:01:04Z")

</div>

Thanks a lot!!!
