# What exactly

**URL:** <https://forum.kirupa.com/t/what-exactly/313625>\
**Category:** Uncategorized\
**Created:** [September 5, 2010, 4:37am UTC](https://forum.kirupa.com/t/what-exactly/313625 "2010-09-05T04:37:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Vercotti](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Post date:** [September 5, 2010, 4:37am UTC](https://forum.kirupa.com/t/what-exactly/313625/1 "2010-09-05T04:37:55Z")

</div>

Hello  
Can someone Please translate it to the English 😉

```auto
private function moveRight(e:Event):void
        {
            e.target.x+=e.target.ySpeed;
            e.target.y+=e.target.xSpeed;

            /* Reset light position, Y first, then X */

            if (e.target.y - (e.target.height / 2) > areaH || e.target.y + (e.target.height / 2) < 0)
            {
                e.target.x = 0 - (e.target.height / 2);
                e.target.y = Math.floor(Math.random()*areaH);
            }

            if ((e.target.x - e.target.width / 2) > areaW)
            {
                e.target.x = -100 - (e.target.height / 2);
                e.target.y = Math.floor(Math.random()*areaW);
            }
        }

```
