Start a timeline after drop


#1

Hi everybody,
I need a very simple js to check wen an object is dropped and starting a timeline after that.

Unfortunately using the touch end event by the interface, it’s not working, probably because the element is in dragging phase.

Thanks


(Mark Hunte) #2

Simplest way I can think of is:

if (event.hypeGesturePhase == "end" ){
	 hypeDocument.continueTimelineNamed('testTime', false)
	}

DragEndRunTimeLine.hypetemplate.zip (14.6 KB)


#3

Thanks, it works fine :slight_smile: