How to make a character to NOT stop moving in direction until I press the opposite button?

3

Back again and hopefully this is better!

Key is pressed and the object starts moving. It will continue moving. If I hold down the button longer, it will increase in speed and stay at that speed if I were to let go of the button. I can increase it further if I wanted to by holding the button again.
If I hold the opposite button, it will decrease in speed. This means that I have full control on how fast I want it to go at any time.

The gif shows It can decrease to almost a stop. If I were to let go of the button, it would stay like that ( If the player is skillful enough). If I where to continue to press the button, then it would start to increase speed in the opposite direction - repeating all the above within my control once again.

Another example is like a physics game where it’s almost like a tug of war trying to balance the speed and direction with delicate precision.

Does this help?