# Kirupa Random movement - objects need to be contained

**URL:** <https://forum.kirupa.com/t/kirupa-random-movement-objects-need-to-be-contained/302855>\
**Category:** flash\
**Created:** [January 8, 2010, 6:31pm UTC](https://forum.kirupa.com/t/kirupa-random-movement-objects-need-to-be-contained/302855 "2010-01-08T18:31:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spartan004](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@spartan004](https://forum.kirupa.com/u/spartan004)\
**Post date:** [January 8, 2010, 6:31pm UTC](https://forum.kirupa.com/t/kirupa-random-movement-objects-need-to-be-contained/302855/1 "2010-01-08T18:31:35Z")

</div>

Hi,

I know that this might be a stupid question but I can’t seem to figure this out. The Random tutorial Kirupa has created: [http://www.kirupa.com/developer/mx/random\_motionMX.htm](http://www.kirupa.com/developer/mx/random_motionMX.htm) - how do you put the objects moving with a contained movieclip so the objects don’t float outside of it? as in a movieclip sized 100 by 100? I think I may have missed something.

Spartan
