# Mask

**URL:** https://forum.kirupa.com/t/mask/265805
**Category:** Uncategorized
**Created:** [July 12, 2008, 7:28pm UTC](https://forum.kirupa.com/t/mask/265805 "2008-07-12T19:28:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fishb0n3](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@fishb0n3](https://forum.kirupa.com/u/fishb0n3)
#### Post date: [July 12, 2008, 7:28pm UTC](https://forum.kirupa.com/t/mask/265805/1 "2008-07-12T19:28:27Z")

</div>

Does anyone knows how to create more than 1 mask for a same layer?

---

<div class="post-metadata">

### Author: ![saxx](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@saxx](https://forum.kirupa.com/u/saxx)
#### Post date: [July 12, 2008, 7:42pm UTC](https://forum.kirupa.com/t/mask/265805/2 "2008-07-12T19:42:56Z")

</div>

what would be the point of that?

---

<div class="post-metadata">

### Author: ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)
#### Post date: [July 12, 2008, 8:27pm UTC](https://forum.kirupa.com/t/mask/265805/3 "2008-07-12T20:27:32Z")

</div>

[QUOTE=saxx;2357558]what would be the point of that?[/QUOTE]

A lot more than your posts.

Anyway, you can’t have more than 1 mask for one layer, but you can nest masks (ie either inside movieclips inside movieclips etcetc) or via actionscript.

---

<div class="post-metadata">

### Author: ![saxx](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@saxx](https://forum.kirupa.com/u/saxx)
#### Post date: [July 12, 2008, 9:03pm UTC](https://forum.kirupa.com/t/mask/265805/4 "2008-07-12T21:03:19Z")

</div>

I was actually interested why \>.\>  
being friendly for the win

---

<div class="post-metadata">

### Author: ![minthu](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/minthu/32/1757_2.png) [@minthu](https://forum.kirupa.com/u/minthu)
#### Post date: [July 13, 2008, 4:49am UTC](https://forum.kirupa.com/t/mask/265805/5 "2008-07-13T04:49:15Z")

</div>

fishb0n3, I got your point.

Yes, you can surely make more than one mask for the same layer through a bit of action scripts.

You just need to use **setMask** () function.

e.g. You have many layers inside **mask\_group** movie clip. Then you can apply that to your object \*\*photo \*\*movie clip.

**photo.setMask( mask\_group );**

Please take a look at [this source file](http://www.flashmo.com/preview/flashmo_039_mask_effect). So you will learn more about it.
