# Changing focus

**URL:** <https://forum.kirupa.com/t/changing-focus/97490>\
**Category:** Uncategorized\
**Created:** [December 23, 2003, 2:54am UTC](https://forum.kirupa.com/t/changing-focus/97490 "2003-12-23T02:54:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![illrainman](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@illrainman](https://forum.kirupa.com/u/illrainman)\
**Post date:** [December 23, 2003, 2:54am UTC](https://forum.kirupa.com/t/changing-focus/97490/1 "2003-12-23T02:54:14Z")

</div>

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?
