heh, the solution was to add 100 to rightx 
thanks for the while loop idea
Just one more question: is there a way to test whether a mouse is beneath a line runningly up at 45 degrees?
thanks.

thanks for the while loop idea

Just one more question: is there a way to test whether a mouse is beneath a line runningly up at 45 degrees?
thanks.