Lol this is using the Atan2 function, but autopilot is in a three dimensional plane, and its also not a square... Anyways, still a great way to learn... Drag the 1 thing around and it'll autopilot to it.