# Random movement with rotate

**URL:** <https://forum.kirupa.com/t/random-movement-with-rotate/254390>\
**Category:** flash\
**Created:** [March 11, 2008, 3:40pm UTC](https://forum.kirupa.com/t/random-movement-with-rotate/254390 "2008-03-11T15:40:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vectar](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@Vectar](https://forum.kirupa.com/u/Vectar)\
**Post date:** [March 11, 2008, 3:40pm UTC](https://forum.kirupa.com/t/random-movement-with-rotate/254390/1 "2008-03-11T15:40:30Z")

</div>

If you look at [this site](http://www.lightpanic.com/) and enter site. You will see 2 litle things moving on you screen.  
I need somthing like this aswell only then for like 50 bugs. I found lots of ways to make this with rondom movement scripts but i also need it to turn. So when its going to the bottom its pointing to the bottom and when its going up its turns pointing up.  
Does anybody know a good tutorial for this or a tip or maybe even a source file ?

thanks in advance
