# Using the same mask for 2 movieclips

**URL:** <https://forum.kirupa.com/t/using-the-same-mask-for-2-movieclips/207522>\
**Category:** flash\
**Created:** [November 18, 2006, 2:40pm UTC](https://forum.kirupa.com/t/using-the-same-mask-for-2-movieclips/207522 "2006-11-18T14:40:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayman](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Post date:** [November 18, 2006, 2:40pm UTC](https://forum.kirupa.com/t/using-the-same-mask-for-2-movieclips/207522/1 "2006-11-18T14:40:13Z")

</div>

Is there a way to use the same movieclip as a mask for 2 other movieclips??

Like this:

shadow1.setMask(shadowMask)  
shadow2.setMask(shadowMask)

Ofcourse applying the above directly, will only apply the mask to shadow2. Is there a way to get around this, to have the mask for both movieclips, without duplicating the mask movieclip??

Thanks!
