Fix: Moving Diagonally Is Faster Than Straight
Multiply both x and y steps by 0.707 when horizontal and vertical keys are held together.
Root cause & fastest fix
Multiply both x and y steps by 0.707 when horizontal and vertical keys are held together.
Before rewriting your project, save a quick .sb3 backup and verify this single cause in isolation.
- Check green-flag initialization (position, show, size, variables).
- Display relevant variables on stage to observe exact values when the bug happens.
- Test clicking the green flag twice in a row after applying the fix.
More Scratch troubleshooting guides
Explore our full troubleshooting library and coding recipes.
FAQ
How do I prevent "Moving Diagonally Is Faster Than Straight" in future projects?
Multiply both x and y steps by 0.707 when horizontal and vertical keys are held together. Building a habit of initializing every sprite under the green flag prevents most recurring Scratch bugs.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.