This is another version of this: https://scratch.mit.edu/projects/188293070/ This version solves an issue regarding changes passing the Zero line by making all numbers positive to turn it into a single quadrant. Please if you find a solution to the other project's zero problem without changing the numbers to positive, let me know in the comments.
I just noticed another glitch. I had to make the numbers positive integers so they would not be zero near the edges or clicking there had no effect or the ill effect of not moving to the correct square. I'm sure there's probably some simple solution to the zero problems but I am not knowledgeable enough to know what the solution is so I did rough changes to fix them.