Hi
Sorry if this is in the wrong place or a stupid question I just cant seem to find the answer.
I have a drag event (horizontal) that brings in options from off the screen, multiple tiles to be exact.
each tile has a drag event to navigate back and for using the time line to animate,
on the same hot spot that starts the time line I have an on click event to open up the tile but while i'm dragging the click event is being activated.
So basically I need a way of disabling the onclick event while dragging? Im certain this can be achieved with running a JS any help would be massively appreciated
thanks for the reply unfortunately my build is a little bit sensitive and I cant share the content as its for a large company any the content hasn't been released yet so I cant share but I will create a mocked version of what I currently have and post that as soon as I can
I need to do exactly what you say "click only function once drag has completed" but that file you uploaded is still having the issue for me as I click to drag its kicking me onto the landing scene
** Update **
ignore me it was chrome being glitchy your code worked perfectly in a different browser