# How to clip or mask a region

**URL:** <https://forum.kirupa.com/t/how-to-clip-or-mask-a-region/273340>\
**Category:** flash\
**Created:** [October 14, 2008, 5:15pm UTC](https://forum.kirupa.com/t/how-to-clip-or-mask-a-region/273340 "2008-10-14T17:15:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justkevin](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Post date:** [October 14, 2008, 5:15pm UTC](https://forum.kirupa.com/t/how-to-clip-or-mask-a-region/273340/1 "2008-10-14T17:15:12Z")

</div>

Let’s say I have a Sprite with lots of children. I want to define a rectangular region, outside of which the children aren’t shown (imagine the rectangular region is like a window, and the sprite’s children are everything outside the window). What’s the best way to accomplish this?
