# Background problem!

**URL:** <https://forum.kirupa.com/t/background-problem/221387>\
**Category:** flash\
**Created:** [April 3, 2007, 9:27pm UTC](https://forum.kirupa.com/t/background-problem/221387 "2007-04-03T21:27:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giggles](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@giggles](https://forum.kirupa.com/u/giggles)\
**Post date:** [April 3, 2007, 9:27pm UTC](https://forum.kirupa.com/t/background-problem/221387/1 "2007-04-03T21:27:56Z")

</div>

In my game I am using a scrolling background with this code

if (Key.isDown(39))  
{  
this.\_x = this.\_x + 24;  
\_parent.\_x = \_parent.\_x - 24;

I want to make a reset/restart button using “Enter” and it worked before… but i realised that once you press it the background has moved so you cant see the menu screen…

Please help! :-/
