# Drag and drop problem

**URL:** <https://forum.kirupa.com/t/drag-and-drop-problem/52574>\
**Category:** Uncategorized\
**Created:** [May 25, 2004, 12:32pm UTC](https://forum.kirupa.com/t/drag-and-drop-problem/52574 "2004-05-25T12:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ross\_S](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@Ross\_S](https://forum.kirupa.com/u/Ross_S)\
**Post date:** [May 25, 2004, 12:32pm UTC](https://forum.kirupa.com/t/drag-and-drop-problem/52574/1 "2004-05-25T12:32:59Z")

</div>

Hi,

i’ll try and explain this best I can,

i’m developing a drag and drop type game for a college assesment for students

I have set up a test screen to set up it’s funcionality.

For example when I place somthig in a correct position it say “Correct” otherwise it say “wrong”

So up to that point it’s working ok,

but now I want to take it further so it only say wher it’s right or wrong after you click a button,

So I did what I tohught, but it dosent seem to register, no sytax errors come up so it seems to be in the codes logic, I tihnk mabe i’m not referig to the drag item corectly.

I have it somthing like this:

on (release) {

if ("/P1".\_droptarget == “/pipetarg”) {  
\_root.answer1=“wrong”;  
}

P1 is the drag item while pipe targ is the target.

any help?

Thankyou.  
:jail:
