Reset delay?

Hi, I have a button input tied to a locomotion/camera state and to smooth the return transition I added a delay to the result of the InputAction release.

I’d like to reset that delay every time the button is pressed again. Currently, if I spam the button it still follows the original delay time and causes some jerky camera movements.

Thank you for your time

Retriggerable delay!

This will reset the delay each time it gets a tick

4 Likes

THANK you, I knew it would be something that simple haha.

Much obliged.