Well if you are talking about going between two EUO scripts, you would want to make yourself a global variable. (Atleast this is what i have done).
So in your drag drop
Finditem XXX G_5
set *dragging #true
for #findindex 1 #findcnt
{
Exevent drag #findid
wait 10
Exevent dropc %box2
wait 20
}
set *dragging #false
Now all you need to do is make a check for whether *dragging is #true in your movement sub