# Masking + dynamically generated content

**URL:** <https://forum.kirupa.com/t/masking-dynamically-generated-content/318305>\
**Category:** Uncategorized\
**Created:** [January 16, 2011, 11:02am UTC](https://forum.kirupa.com/t/masking-dynamically-generated-content/318305 "2011-01-16T11:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilldog](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Post date:** [January 16, 2011, 11:02am UTC](https://forum.kirupa.com/t/masking-dynamically-generated-content/318305/1 "2011-01-16T11:02:04Z")

</div>

I’ve got an object in the library that’s a basic rectangle with an outline. A for loop creates a grid dynamically. I want to create a mask that goes over this grid. I’m using “my\_object.mask = my\_mask”, but to no avail. I need help, and maybe some luck.
