Use the time, x, and y variables and the >= and <= things in an if statement.