Tracks your mouse when it goes off-screen. Mostly accurate, usually off by 1 pixel in either direction. Works very well in offline mode. Feel free to backpack the mouse tracker sprite for use in other projects. true mouse pos - The mouse coordinates, given by the "x mouse" and "y mouse" blocks. mouse pos - The mouse coordinates, figured out through trigonometry and recursion
I tried to do this before, using only one law-of-cosines. That didn't work, and so I left this idea on the burner until I had the idea to keep moving the sprite until it got an exact answer, which works really well actually. Credits: @ggenije Showing how to remove "fencing" in his "11 Scratch tricks" project