Replies: 1 comment
-
this tutorial should be helpful: https://www.youtube.com/watch?v=5yM4NPcTwY4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I want to implement a mechanism for detecting when a certain shape added to the canvas (particularly
Path
drawn from SVG shapes) is tapped. Tried looking into how https://github.com/enzomanuelmangano/react-native-skia-gesture/tree/main is implemented, but couldn't figure out how can I "loop over the shapes in the canvas".My plan is tu hook on the the
Gesture.Tap
event fromreact-native-gesture-handler
, and kind of loop over all shapes checking if that event was inside a shape.Any ideas / advice on how to implement this?
Beta Was this translation helpful? Give feedback.
All reactions