The sprite moves diagonally at the same rate it moves horizontally and vertically. W A S D controls.
Thank you Griffpatch for finding a use for the pythagorean theorem. He made it better than I did though: https://www.youtube.com/watch?v=5lof-Nu1VVE&t=973s here you can see a tutorial on how to to it better.