Changing focus

What code would I use to change the focus of an object so it would rotate around the center of the screen like for a car game with a scrolling bground that moved based on key presses?