# Drag / mask issue

**URL:** <https://forum.kirupa.com/t/drag-mask-issue/187886>\
**Category:** Uncategorized\
**Created:** [May 3, 2006, 12:24am UTC](https://forum.kirupa.com/t/drag-mask-issue/187886 "2006-05-03T00:24:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpr](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mpr](https://forum.kirupa.com/u/mpr)\
**Post date:** [May 3, 2006, 12:24am UTC](https://forum.kirupa.com/t/drag-mask-issue/187886/1 "2006-05-03T00:24:22Z")

</div>

not too sure why this isn’t working. maybe it’s a simple layers problem?

the code for the mask button (instance name “hole”) works fine on it’s own without the mask. once i make a mask out of it and the background image the code no longer works. the code i have for it is:

```auto

on (press) {
 startDrag ("hole", true);
}
on (release) {
	stopDrag ();
}

```

any help would be appreciated! =)
