1- In my game, my character (ball) is in constant upward movement.
2- My game has red and blue blocks and these blocks have a solid feature.
3- In my game, I have the direction keys that move up all the time.
4- When my character hits the blocks, the solid feature of the blocks does not deteriorate, but when my arrow keys hit the blocks, my arrow keys are constantly in motion. Even when colliding with blocks.
5- Finally, let my character move the same with the arrow keys. For example, if my character stops, let the arrow keys stop. Let them go at the same speed.