# Seems that there's no need to use addChild for masks

**URL:** <https://forum.kirupa.com/t/seems-that-theres-no-need-to-use-addchild-for-masks/275191>\
**Category:** Uncategorized\
**Created:** [November 11, 2008, 2:36am UTC](https://forum.kirupa.com/t/seems-that-theres-no-need-to-use-addchild-for-masks/275191 "2008-11-11T02:36:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awflasher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/awflasher/32/3562_2.png) [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Post date:** [November 11, 2008, 2:36am UTC](https://forum.kirupa.com/t/seems-that-theres-no-need-to-use-addchild-for-masks/275191/1 "2008-11-11T02:36:34Z")

</div>

Say I have a maskRectange:Shape, and I don’t have to add it to the display list before use it as a mask:

```auto
var s:Shape = new Shape();
s.drawRect(...);
something.mask = s;
//addChild(s); // No need.
addChild(something);

```

Just want to make sure this.
