I’m working on a game and need a timer that, once activated, continuously checks if the player is moving. If the player moves, a cancel function should be called, and the timer should reset. Is there a way to achieve this using Blueprints in Unreal Engine?
Yes, you could check the velocity of the player…if it’s non-zero then the player is moving.
I have already tried this but have not found a way to link it to a timer
A simple solution would be to put the check on tick…while the player is not moving set the timer variable to 0…while the player is moving, increment the timer variable by delta time.