Count seconds passed

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.

One way:

Thanks a lot!!!