r/PythonLearning • • 6d ago

Help Request Need help with player movement

Hi everyone, I need some help.

I'm making a game for my school project. I made a simple movement test, and it worked well when I pressed the WASD keys individually. However, when I held down a key, the circle moved farther than I expected.

How can I prevent new key events from being processed while the circle is still moving?

I am sending photo of code down.

2 Upvotes

Duplicates