You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arc.hitArea = new PIXI.Polygon(arc.currentPath.points);
But its not only making the line clickable but also the fill area, which make sense since the hitArea is a Polygon.
I like to draw a curve and enable click on it (only on the line). I tried the docs and google not able to find any solution. Any help and tips are appreciated.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello, After adding a line or curve using
bezierCurveTo
orlineTo
function ofPIXI.Graphics
mouse events not triggering on them.I tried the following
But its not only making the line clickable but also the fill area, which make sense since the hitArea is a Polygon.
I like to draw a curve and enable click on it (only on the line). I tried the docs and google not able to find any solution. Any help and tips are appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: