Pan background left/right with mouse position, anyone know how?

Hi,

Exactly like th titled states, i’m looking to have a background that will pan with left or right dependent where the mouse position is. So obviously if the mouse goes to the right of the page, the background image will pan right and vice versa - like revealing more of the image.

Can anyone help with how to do this?

Thanks