Drag and drop

i’m now trying to create a drag and drop application. Once i dragged the object to the target area, what should i do to make it movable false after i dropped it.:q: