# Scriptable mask problem

**URL:** <https://forum.kirupa.com/t/scriptable-mask-problem/178766>\
**Category:** programming\
**Created:** [February 14, 2006, 1:45am UTC](https://forum.kirupa.com/t/scriptable-mask-problem/178766 "2006-02-14T01:45:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperBokey](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@SuperBokey](https://forum.kirupa.com/u/SuperBokey)\
**Post date:** [February 14, 2006, 1:45am UTC](https://forum.kirupa.com/t/scriptable-mask-problem/178766/1 "2006-02-14T01:45:06Z")

</div>

Okay in my game I have a scripted mask used for your characters light source (its an overhead game)… Well The mask works and all except for when I try to add ground to the game… In my main timeline I have three layers: Main (where my code is), Level: A MC containing all the various maps, Darkness (the blackness for the mask) and When I try to add the ground under the darkness, the ground becomes the blackness for the masking… Anyone know how to fix this problem?
