# Center zoom

**URL:** <https://forum.kirupa.com/t/center-zoom/281719>\
**Category:** Uncategorized\
**Created:** [February 12, 2009, 4:50pm UTC](https://forum.kirupa.com/t/center-zoom/281719 "2009-02-12T16:50:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Some\_Guy](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Some\_Guy](https://forum.kirupa.com/u/Some_Guy)\
**Post date:** [February 12, 2009, 4:50pm UTC](https://forum.kirupa.com/t/center-zoom/281719/1 "2009-02-12T16:50:33Z")

</div>

Hi all,  
I’m just trying to implement a simple zoom system, incrementing and decremeting the \_xscale and \_yscale of a mc.  
Since the mc is draggable, I was wondering how I could’ve managed to zoom the mc right in the spot where the mask was, so, what \_x and \_y I had to assign to the mc after the scaling.  
Thank you
