Download

Get which coordinates an actor takes of the viewport

I’m sure there’s an answer already, and if there is please send the link in the replies! If not though, what I’m wondering is how I can get the geometry of an actor. I have a node setup like this:


I’m comparing the mouse coordinates relative to the viewport with the coordinates relative to an actor’s position relative to the viewport, but it needs the “Canvas Actor”'s geometry, but it’s an actor reference.
What this is supposed to do is when you click on the viewport, it checks to see if the coordinates of where you clicked has the Canvas Actor, and if it does, it will draw. If you could either suggest another solution or help me get the geometry of my actor, that’d be great!!