# MovieClip overlapping stageWidth?

**URL:** <https://forum.kirupa.com/t/movieclip-overlapping-stagewidth/243333>\
**Category:** Uncategorized\
**Created:** [November 5, 2007, 10:07pm UTC](https://forum.kirupa.com/t/movieclip-overlapping-stagewidth/243333 "2007-11-05T22:07:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![453\_0](https://avatars.discourse-cdn.com/v4/letter/4/dec6dc/32.png) [@453\_0](https://forum.kirupa.com/u/453_0)\
**Post date:** [November 5, 2007, 10:07pm UTC](https://forum.kirupa.com/t/movieclip-overlapping-stagewidth/243333/1 "2007-11-05T22:07:06Z")

</div>

Let’s say we duplicate a movie clip by clicking on a button. Each time the button is clicked the duplicated movie clip is aligned next to the previous one. How can I “trace” or monitor when the duplicated movie clip reaches/overlaps the stage width. What I’m willing to do is to auto-align the MC in a new line if it overlaps the stage width ( and so on ).

PS: and yeah, after it overlaps the width once, then if I add a new MC it should continue the new line 😛
