# How to add boundary for the moving movieclip

**URL:** <https://forum.kirupa.com/t/how-to-add-boundary-for-the-moving-movieclip/92753>\
**Category:** Uncategorized\
**Created:** [October 21, 2003, 10:49am UTC](https://forum.kirupa.com/t/how-to-add-boundary-for-the-moving-movieclip/92753 "2003-10-21T10:49:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBUH](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SBUH](https://forum.kirupa.com/u/SBUH)\
**Post date:** [October 21, 2003, 10:49am UTC](https://forum.kirupa.com/t/how-to-add-boundary-for-the-moving-movieclip/92753/1 "2003-10-21T10:49:09Z")

</div>

Hello, I have function for moving the movieclip but I would like to add boundary for it. And another thing is that the movieclip contains a textfield for receiving the text input from the user so I have the autoSize=true for the textfield. Then I wonder how to modify the code so that when the movieclip exist the boundary, it couldn’t move any more? Thanks very much in advance!
