# Change Scale Based on Mouse

**URL:** <https://forum.kirupa.com/t/change-scale-based-on-mouse/248468>\
**Category:** flash\
**Created:** [January 8, 2008, 3:37pm UTC](https://forum.kirupa.com/t/change-scale-based-on-mouse/248468 "2008-01-08T15:37:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbstanley](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Post date:** [January 8, 2008, 3:37pm UTC](https://forum.kirupa.com/t/change-scale-based-on-mouse/248468/1 "2008-01-08T15:37:46Z")

</div>

I’ve searched and tried, but is there a way to scale an object based on how far away the mouse is from it. Here’s the catch tho - the object has a maximum size.

Any thoughts?
