Here's a solution for how to prevent a button (with a downstate/pressed state) from activating its downstate or function while dragging (it's in a vertical scroll component within a horizontal page component).
Posting this in case it helps anyone, because I couldn't find what I was looking for in the group.
The button functions look like this:
if pageComponent.content.x is 0
Utils.delay 0.2, ->
This makes it feel like some apps where you can press and hold down on a button, see the downstate, but start dragging without activating the button. I tried a ton of stuff with ignoreEvents and checking for isMoving to no avail.
Please let me know if there's a better solution with any part of the code or to make it look better!!
keywords for people searching: stop stopping scrolling layer