In scratch, if you move vertically or horizontally you will move slower than if you move diagonally. This test solves that, so that all of your movement is accurate to what it should be. This is also what @griffpatch 's joystick uses to move the player, because it needs to move at the same speed in any direction. WASD to move.
You can backpack this if you want to, but always make sure to credit @maticode7 because I made this.