Mouse over svg shape detect?


#1

hello !
I would like to know if it was possible to know when ever mouse cursor is over a svg element ?
I can see getelements and getpath…would it be a simple analysis routine to do such thing ?
thanks in advance.


#2

not directly using the svg nodes. did you see the HitTest nodes? you’d normally use those to detect a mouseover.

if you provide a simple patch that shows where you are we can probably show you how to do it.