# Scaling relative to mouse position

**URL:** <https://forum.kirupa.com/t/scaling-relative-to-mouse-position/43264>\
**Category:** flash\
**Created:** [February 20, 2004, 1:03pm UTC](https://forum.kirupa.com/t/scaling-relative-to-mouse-position/43264 "2004-02-20T13:03:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhunki](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@mhunki](https://forum.kirupa.com/u/mhunki)\
**Post date:** [February 20, 2004, 1:03pm UTC](https://forum.kirupa.com/t/scaling-relative-to-mouse-position/43264/1 "2004-02-20T13:03:45Z")

</div>

My actionscripting must be improving because I know the basics of this, just need a little help.

I have a dragable movie clip that on release I want to scale, depending on the mouse position, the further the mouse up the screen (y) then the smaller the clip scales on release.

Any help would be, as usual, appreciated.

Thanks folks
