int px = 100; int py = 300; //Dimensions of player choppa= 300 x 60 if(px > 250){ } Boolean Maths AND && OR || NOT ! Example T && T = T F && T = F F && F = F (!(F && T || !(F || T) ) && F = F ORs T || F = T F || T = T F || F = F T || T = T NOT !T = F !F = T Back to helicopters int px = 100; int py = 300; //Dimensions of player choppa= 300 x 60 //Using center of the bottom -> 100 + 150 = 250 for the x -> 300 + 60 = 360 for the y px + 150 for the x py + 60 for the y //Landing zone x: 200 to 300 y: 450 to 480 T && T && T && T if(px + 150 > 200 && px + 150 < 300 && py + 60 > 450 && py + 60 < 480){ speedy = 0; speedx = 0; } void setup(){ boolean win = false; } void draw(){ if(win == false){ //Draw heli HERE //Moving around and other zombie mowing things if(px + 150 > 200 && px + 150 < 300 && py + 60 > 450 && py + 60 < 480){ speedy = 0; speedx = 0; win = true; } }else{ //Same as if win == true text("You win!, 100,100); } }