turrf
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by turrf
-
-
Hello friends, I'm working on hit testing if a draggable knob has hitted certain <line> indicators in a SVG. But I'm having trouble to get it work. As the codepen (modified based on Diaco M.Lotfollahi's work) shows, I tried to log something on console but the hit test seems doesn't recognize the indicator. Can anyone help? Thanks.
hitTest() on elements inside an SVG
in GSAP
Posted
Thank you for your answer OSUblake. I have resolved the issue. I was using the hitTest in a wrong way.