1
\$\begingroup\$

Basically, I'm making a small node system, Just for fun.

And I need to know if I can get the topmost Element under the cursor. I need it to connect nodes.

Thanks!

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

the answer seems to be IPanel.Pick

var picked = rootVisualElement.panel.Pick(evt.mousePosition);
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .