how to increase/decrease speed slowly?

i made a running system with timeline its slowly increases the speed but cant do how can i slowly decrease speed when i relese the button. guys can u help me?

Hmm… You could try increasing or decreasing in very small increments very slowly over time after the button is released. That is probably not the solution you are looking for though.

Pick one:

  • play the same timeline from reverse
  • play another timeline
  • use deceleration on the character
  • interpolate player velocity back to 0 during tick
  • reduce player’s max walk speed using a timer