Drag and Drop elements in wix code

I am trying to write code that will allow a user to drag and drop a icon to select it and then the database is updated to show what they chose. If I used HTML embed and do this the HTML box cover up the click events I already have on the icons on that page. So the user can’t then go to the page they want after they’ve dragged the image. I’m currently using the mousein to make the image appear but I’d prefer to have the user click and drag the icon to select it.

1 Like