# Drag drop - correct/incorrect targets

**URL:** <https://forum.kirupa.com/t/drag-drop-correct-incorrect-targets/291755>\
**Category:** flash\
**Created:** [July 4, 2009, 8:47pm UTC](https://forum.kirupa.com/t/drag-drop-correct-incorrect-targets/291755 "2009-07-04T20:47:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cantaloupe](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Post date:** [July 4, 2009, 8:47pm UTC](https://forum.kirupa.com/t/drag-drop-correct-incorrect-targets/291755/1 "2009-07-04T20:47:46Z")

</div>

What I am trying to do is have 10 draggable items, 1 target area and a button to check if the correct draggable items have been dragged onto the target.

For example - 10 drinks… of which some are alcoholic and some are not. The user has to drag the just the alcoholic ones to the target. If correct, the button will call a correct message to display. If not, an incorrect message will display.

I can make the draggable items and the targets but I’m struggling with how to check if the correct items have been placed on the target and displaying a corresponding message. Any help would be greatly appreciated!
