# Help with a drag and drop

**URL:** <https://forum.kirupa.com/t/help-with-a-drag-and-drop/103470>\
**Category:** Uncategorized\
**Created:** [March 5, 2004, 1:15pm UTC](https://forum.kirupa.com/t/help-with-a-drag-and-drop/103470 "2004-03-05T13:15:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay100](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jay100](https://forum.kirupa.com/u/jay100)\
**Post date:** [March 5, 2004, 1:15pm UTC](https://forum.kirupa.com/t/help-with-a-drag-and-drop/103470/1 "2004-03-05T13:15:39Z")

</div>

I am trying to get a drag and drop feature to work like this:

The user drags a colour swatch onto an object of a different size, when dropped on the target, the object fills with that colour from the swatch they dragged?

I have done a few simple drag and drops before but I can’t figure out how to make the target fill with the colour from the dragged object.

Thanks

PS Claudio - thank you for replying to my post about the custom cursor, I have not had internet access for the past week so have only got your reply today, however I don’t have the FLA with me at the moment so I will post it tomorrow.

Thank you.
