Declare a varible below to use with the vertical motion of the bee. This variable's intial value should not produce vertical motion. The jump should only occur when the up arrow is pressed.

provide the instructions to move the bee. Keep in mind that the motion could entail jumping, if the arrow key is pressed.

Change two variable values in response to the up arrow. This should create the jumping motion.

Program2Play

bee.x += fun;