Changing images with input key

You should take a look at how the keyPressed() function works.
here is a reference.

1 Like