# Need examples/scripts of random motion

**URL:** <https://forum.kirupa.com/t/need-examples-scripts-of-random-motion/261786>\
**Category:** Uncategorized\
**Created:** [May 30, 2008, 8:11pm UTC](https://forum.kirupa.com/t/need-examples-scripts-of-random-motion/261786 "2008-05-30T20:11:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shane\_c](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Post date:** [May 30, 2008, 8:11pm UTC](https://forum.kirupa.com/t/need-examples-scripts-of-random-motion/261786/1 "2008-05-30T20:11:32Z")

</div>

So I’m going to try building a little flash thing that has a bug that follows your cursor around, but just sort of “buzzes” randomly around it. I’m sure I’ve seen something like this before, but I can’t think of where. Do any of you have any ideas on where to start looking for something like this?

Thanks!

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [May 30, 2008, 9:14pm UTC](https://forum.kirupa.com/t/need-examples-scripts-of-random-motion/261786/2 "2008-05-30T21:14:39Z")

</div>

there are both as2 and as3 versions of this book - it has many examples that should get you to your goal:  
[URL=“[http://www.amazon.com/Foundation-ActionScript-Animation-Making-Things/dp/1590595181/ref=pd\_bbs\_sr\_2?ie=UTF8&s=books&qid=1212182006&sr=8-2](http://www.amazon.com/Foundation-ActionScript-Animation-Making-Things/dp/1590595181/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1212182006&sr=8-2)”]  
see as2 book here

---

<div class="post-metadata">

**Author:** ![shane\_c](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Post date:** [May 30, 2008, 9:23pm UTC](https://forum.kirupa.com/t/need-examples-scripts-of-random-motion/261786/3 "2008-05-30T21:23:56Z")

</div>

Sweet, thanks creatify 🍺

(It even has a bee on the cover, which is what I was planning on animating… awesome)
