I’m running into an issue with my walk/run toggle system.
When I rapidly press and release the walk toggle key, the character animation starts behaving erratically. It keeps snapping back and forth between the run and walk gaits, likely because the speed difference between them is quite large.
To address this, I added a 0.5 second delay before allowing the character to exit the walk state (using the Completed pin). This helped stabilize the transition initially.
However, using a Delay node introduced a new issue: if I spam the toggle key, the character can get stuck in the walk gait (triggered from the Started pin).
What would be the proper way to handle this? Is there a better approach than using a Delay node to prevent rapid toggling from breaking the state transitions?

