Hey there! I'm fearful that I've missed something very obvious, but I can't seem to get calculateVelocity to print any values when I'm dragging a draggable layer.
Check out my demo: http://share.framerjs.com/g4icl89zyskm/
What have I missed?
Hey Jason Lang, in order to print the velocity, it needs to be in an event:
Now, every time the "touchmoves" fire, the velocity is calculated and printed correctly!
Hope this helps!
Thanks! I basically ended up here later on. It's been a while since I've written JS :-)