Drop and drag

I m new to Wic editor. How can I drop a clip on a particular target?. Pls guide me.

well, i don’t know how to drag and drop on a target, but i do know to dragging part.
highlight the thing you want to drag, and open up a new script called “mouse drag”. add this code:
this.y=mouseY
this.x=mouseX

it’s kinda buggy but it works.

@mojad’s code is correct. Though, not quite sure what you mean by “on target,”
but I’d be guessing that once the object is where it’s supposed to be, and the
mouse is released, you’d want the object to be exactly where you want it. I’ve used
this in my past work, but mostly in a puzzle game that I had shared before on wick.
You could read through the code, and copy-paste it, here’s the project:

hand puzzle.wick (205.8 KB)

If you meant something else by “on target,” just let me know, otherwise, hopefully,
that’ll help!

Sincerely
~Hanzoh Alani