The cat jumps on pressing the up arrow key. Height and Range of the jump is proportional to the duration for which up arrow key is pressed.