Scrolling and image

How do I scroll an image

Could you be more specific please?

You want to check for panning. Check this search:

https://www.google.com/search?q=panning+image+%3Aprocessing.org&ie=utf-8&oe=utf-8&client=firefox-b-1-ab

Kf

1 Like

Use the mouseWheel() function :

https://processing.org/reference/mouseWheel_.html

and add the event.getCount() to your image Y position.

1 Like

Thanks, I’ll browse through these. One seems to point the way for me.

Thanks for your reply, My question was broad and kfrajer pointed the way for me.