# Drag only in X

**URL:** <https://forum.kirupa.com/t/drag-only-in-x/217291>\
**Category:** flash\
**Created:** [February 25, 2007, 12:07pm UTC](https://forum.kirupa.com/t/drag-only-in-x/217291 "2007-02-25T12:07:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcusbrunstrom](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@marcusbrunstrom](https://forum.kirupa.com/u/marcusbrunstrom)\
**Post date:** [February 25, 2007, 12:07pm UTC](https://forum.kirupa.com/t/drag-only-in-x/217291/1 "2007-02-25T12:07:08Z")

</div>

Hi.  
I have a small problem.  
Have a movieclip called m1, I want this movieclip to be draggable but only in X, not in Y.

Also I want the movieclip to only move to a maximum point, say x=600  
ex. from X=80 to x=600

Any ideas?

/Marcus Brunström
