I am new to processing and am trying to create an image that wraps around the screen.
I have created two buttons to enable the speed of the movement to be altered.
However, only the increase speed button is working and it only works when it the mouse is held down on it. Ideally, I would like to increase the speed by a small amount each time the button was clicked. And similarly, decrease the speed with each click.
Any help would be very much appreciated thank you!