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
I've been missing an easy way of detecting which shape I'm clicking on in p5.
Especially after some translations, rotations and scalings.
When I found Rune, I was hoping it would solve this problem.
But, there are no mouseclick examples at all.
Polygon seem to be the only class implementing the method contains.
But, it doesn't seem to be the an ancestor class of other classes.
Would be nice if it was possible to ask the stage for a list of shapes containing the point mouseX,mouseY.
The text was updated successfully, but these errors were encountered:
I've been missing an easy way of detecting which shape I'm clicking on in p5.
Especially after some translations, rotations and scalings.
When I found Rune, I was hoping it would solve this problem.
But, there are no mouseclick examples at all.
Polygon seem to be the only class implementing the method contains.
But, it doesn't seem to be the an ancestor class of other classes.
Would be nice if it was possible to ask the stage for a list of shapes containing the point mouseX,mouseY.
The text was updated successfully, but these errors were encountered: