Download

Drag and drop button can't be clicked

I have an implementation of a drag and drop button that won’t handle onClick event. It only handles it if i click on the button twice in a row, or if i remove “detect drag if pressed” in “on preview mouse button down” like in the image below.

How do i fix this?

p.s.

button is set to “precise click”