What is Touchable?

I am not 100% clear what is "touchable in Principle and how to properly use it. Can this be compared to a “hotspot element” used other programs? How can i use “touchable” effectively in my UI? Thx!

enabling Touchable layers that do not have events (touch down, tap, etc) on them causes them to “catch” the touch instead of allowing it to pass through to layers behind it. For details please see the docs. Principle - Documentation

If you want to make a portion of the ui tappable (aka “hotspot”) add a rectangle layer, set it’s fill color to clear, and then add a tap event to it.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.