Please help involves a game, and panning camera and so on

Basically im making a game like this

Is it possible to pan a camera to follow a mc?