whenclickedforever
pointtowards
pointtowardswhatshouldyoupointtowards?!
movesteps
whenclickedforeverpointtowardsmouse pointermove2steps
ifthen
touchingcolor?
gotox:y:
whenclickedforeveriftouchingcolorthengotoxy
distancetomouse pointer
>
ifdistancetomouse-pointer>5thenyourpointandmovecodehere
whenclickedforeverifdistancetomouse-pointer>5thenpointtowardsmouse-pointermove2steps
whenclickedforeverifthen
say
whenclickedforeveriftouchingcolorthensayYou win!