Start a timeline after drop

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

Simplest way I can think of is:

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

DragEndRunTimeLine.hypetemplate.zip (14.6 KB)

3 Likes

Thanks, it works fine :slight_smile: