Hello,
This may be a simple maths issue or it could be much. much more complex. Hear me out…
The arm holding the pen (pictured below) can be moved around the ginormous sheet of paper using the keyboard arrow keys (up, down, left and right).

The player can draw black circles using the pen by holding down the X key. Over the white sheet of paper is a drawing guide with already drawn black circles (guide dots) at a 0.5 opacity.
Now, when the arm moves, I want it to move to the exact center of the next guide dot in the direction pressed by the player. The center of each guide dot is evenly spaced from each other, they are just different sizes.
What makes this difficult is that the guide dots are at an angle, and there are literally thousands of them. I’ve tried playing it by eye and guessing what the distance is from each guide dot, but by the time I’ve moved 10 spaces in any direction, the hand is out of sync with the guide dots.
Am I being stupid? How can I calculate it so that the hand moves to the center of the next guide dot exactly.
