arrow keys and space. this is the code it gave me: When Green Flag Clicked: go to x: -100 y: -100 set [isJumping v] to [0] forever if <key [right arrow] pressed?> then change x by (5) end if <key [left arrow] pressed?> then change x by (-5) end if <key [space] pressed?> and <(isJumping) = [0]> then set [isJumping v] to [1] change y by (10) wait (0.2) seconds repeat (10) change y by (-1) wait (0.05) seconds end set [isJumping v] to [0] end end
ai