Camera coordinates (2D)

I got a question that’s been on my mind for a while now. How can I setup a camera, so that I can change it’s x,y coordinates. For example say I drew an island on screen which extended past the screen’s view, how can I change the cameras x,y to change where we’re looking at the island from?

use ortho() (documentation)

Look into the translate function, it sounds like what you want. Just translate the negative direction of the offset you want.

translate is exactly what I was looking for, thanks @SkyTheCoder