WOAH I can't believe I got it to work?????
I've optimized this code from yesterday, now instead of pushing Lance in the direction until he's out of the box and checking to see if he's still in or not, it simply snaps Lance to the outermost border of the triangle he's found in
Mastodon doesn't like the picture of the code though so here it is on Twitter
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!