I’m trying to draw a rectangle with 2 clicks from the player. The following code isn’t working at the moment. I’m sure I’m doing the maths wrong here, but I’m just a bit stuck.
I’m attempting for the 1st push to get the far-top-left corner and the 2nd push to get the far-bottom-right corner, and then use that information to draw a rectangle.
I tried these two and other arrangements.