# Constrain drag and drop to within the stage

**URL:** https://forum.kirupa.com/t/constrain-drag-and-drop-to-within-the-stage/255892
**Category:** flash
**Created:** [March 27, 2008, 11:16pm UTC](https://forum.kirupa.com/t/constrain-drag-and-drop-to-within-the-stage/255892 "2008-03-27T23:16:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![watto\_uk](https://avatars.discourse-cdn.com/v4/letter/w/f08c70/32.png) [@watto\_uk](https://forum.kirupa.com/u/watto_uk)
#### Post date: [March 27, 2008, 11:16pm UTC](https://forum.kirupa.com/t/constrain-drag-and-drop-to-within-the-stage/255892/1 "2008-03-27T23:16:05Z")

</div>

I am using a drag and drop class and am trying to contsrain the area where drag and drop can occur so that its not possible to drag items outside of the stage,

Any advice anyone could offer on how to do this would be appreciated?

Thanks
