# Movie clip boundary based on scaled line even when scaling set to "none"

**URL:** https://forum.kirupa.com/t/movie-clip-boundary-based-on-scaled-line-even-when-scaling-set-to-none/253882
**Category:** Uncategorized
**Created:** [March 6, 2008, 1:14am UTC](https://forum.kirupa.com/t/movie-clip-boundary-based-on-scaled-line-even-when-scaling-set-to-none/253882 "2008-03-06T01:14:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leofrish](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@leofrish](https://forum.kirupa.com/u/leofrish)
#### Post date: [March 6, 2008, 1:14am UTC](https://forum.kirupa.com/t/movie-clip-boundary-based-on-scaled-line-even-when-scaling-set-to-none/253882/1 "2008-03-06T01:14:50Z")

</div>

Consider this simple code:

\_\_vp\_mc = attachMovie(“vp\_mc”, “vp\_mc”,getNextHighestDepth());  
\_\_vp\_mc.\_width = 30;  
\_\_vp\_mc.\_height= 30;  
\_\_vp\_mc.\_x = 15;  
\_\_vp\_mc.\_y = 15;

Where vp\_mc is a 1.0w x 1.0h square movie clip with single pixel line border, line scaling set to “none”.

I would expect the movieclip to nestle into the upperleft corner of the stage.

However, as the attachment shows, it is offset from the corner by about 7.5 pixels in both x and y.

The apparent reason is that the movieclip boundary is based on the line’s scaled size, not its unscaled size.

See the attachment for details.

Why is this happening, and what can I do to create a hit test region that easily scales?

Your help would be much appreciated.
