Is there a way to fire the `onTouchEnd` event only if `onTouchStart` happened on the same object? I expect `onTap` to function this way but it doesn’t seem that it does.
Hey Nick, not sure if I understand ur question correctly, but I am assuming that u have two layers say A and B and u touchStart on A and swipe to B and release, you are getting the touchEnd on B even tough you did not touch start on B..? if so u can solve this with some conditionals. Adding an example file - http://share.framerjs.com/scbab023q9w9/
Hey – Deb might have helped you sufficently but I just whipped up an example with two adjacent squares managing which one was first touched http://share.framerjs.com/tpb5077lqo4u/
Basically, in this approach (which may or not be ideal) you manage which layer was started on, and then guard against it in your finishing handler
Yep. Just set a flag on the layer.
Here's another method you could use too