Two methods of making a "repeat for x seconds" type control structure. The cat will spin clockwise for 10 seconds using the timer directly to end. Then it will spin the other way for 10 seconds using a local variable to avoid a timer reset.