# Changing focus

**URL:** <https://forum.kirupa.com/t/changing-focus/38453>\
**Category:** flash\
**Created:** [December 23, 2003, 2:54am UTC](https://forum.kirupa.com/t/changing-focus/38453 "2003-12-23T02:54:14Z")\
**Posts on this page:** 2\
**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/38453/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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 23, 2003, 3:27am UTC](https://forum.kirupa.com/t/changing-focus/38453/2 "2003-12-23T03:27:03Z")

</div>

Ah, well if you want the background to loop all the way back around, so you could do donuts, you should start with the infinite menu tutorial.

[http://www.kirupa.com/developer/mx/infinite.htm](http://www.kirupa.com/developer/mx/infinite.htm)

Then just switch out the menu for your background.
