# True size of a MovieClip that contains a masked clip

**URL:** <https://forum.kirupa.com/t/true-size-of-a-movieclip-that-contains-a-masked-clip/254086>\
**Category:** flash\
**Created:** [March 7, 2008, 9:08pm UTC](https://forum.kirupa.com/t/true-size-of-a-movieclip-that-contains-a-masked-clip/254086 "2008-03-07T21:08:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IlTimido](https://avatars.discourse-cdn.com/v4/letter/i/f1d935/32.png) [@IlTimido](https://forum.kirupa.com/u/IlTimido)\
**Post date:** [March 7, 2008, 9:08pm UTC](https://forum.kirupa.com/t/true-size-of-a-movieclip-that-contains-a-masked-clip/254086/1 "2008-03-07T21:08:01Z")

</div>

Hello there,  
I just want to know if there is a way to obtain width and height of a DisplayObject based on what the user sees on the screen.  
Imagine a MovieClip with inside a clip that masks (for example) another much-more-bigger-clip.  
If I ask the width or the height of this clip, at runtime Flash reports the width and the height of the much-more-bigger-clip while I would have needed only the visible part.  
Thanks in advance and sorry for my english, I hope you have understood what I have written.
