# Drag and drop

**URL:** https://forum.kirupa.com/t/drag-and-drop/192169
**Category:** Uncategorized
**Created:** [June 26, 2006, 6:46pm UTC](https://forum.kirupa.com/t/drag-and-drop/192169 "2006-06-26T18:46:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mpelland](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mpelland](https://forum.kirupa.com/u/mpelland)
#### Post date: [June 26, 2006, 6:46pm UTC](https://forum.kirupa.com/t/drag-and-drop/192169/1 "2006-06-26T18:46:49Z")

</div>

hey,  
i am working on a site where you have to place items from a menu into a room. The issue being that the room is on an angle, I have created the room as a series of movie clips arranged in a grid that has been skewed using a transform matrix.

my first idea was to just drag and drop… that was cool but didnt have limits… (see image 1)

then i tried to use the drag boundaries, but unfortunately that isn’t working properly because of the angled plane that it is supposed to land on.

then i tried a hitTest on the plane, but i guess that because it is using a transform matrix, the hitTest doesn’t produce effective results. (see image 2)

my latest attempt was to create a little grid and apply the floor’s transform on it, then use the methods listed above… that however did not work either (see image 3)

anyone have any ideas how i can place this item on the floor of the grid in the images?
