# Setting limits on zoom and drag

**URL:** <https://forum.kirupa.com/t/setting-limits-on-zoom-and-drag/19705>\
**Category:** Uncategorized\
**Created:** [April 30, 2003, 6:42pm UTC](https://forum.kirupa.com/t/setting-limits-on-zoom-and-drag/19705 "2003-04-30T18:42:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 30, 2003, 6:42pm UTC](https://forum.kirupa.com/t/setting-limits-on-zoom-and-drag/19705/1 "2003-04-30T18:42:28Z")

</div>

Hey does anybody out there know how you can convert the movie clip size to a percentage so that you can set limits for zooming and dragging? In other words, if I set an x and y limit for dragging then that changes when I zoom in, such that when the movie clip is at 100% I can drag to a certain spot but when I zoom in and then drag the x and y drag limit prevents one from seeing as much of the clip as you could at 100%. So it would be great to say something to the effect of “whatever zoom level one is at, you can only drag to 90% of the movie clip” so one can’t drag the movie clip outside of the set drag area.

Is that totally confusing?

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 1, 2003, 5:06pm UTC](https://forum.kirupa.com/t/setting-limits-on-zoom-and-drag/19705/2 "2003-05-01T17:06:55Z")

</div>

> Is that totally confusing?

yes

if you could explain at bit more, or give examples… that’d be great…
