...look, you can tell I was WAAAY out of my element here. So the concept of this was to change the brightness of the bottom right sprite to detect its color at a specific point, and use that as the z.