Can you check what object is under the mouse on tick with a scriptable tool

I’ve been trying to make a tool to make the world building easier for my game. So far it’s been working great and I love the system.

With my tool I need to obviously click somewhere in the viewport if i want to place objects. I did get this to work, but I’ve noticed that it’s a bit annoying as there is no actual marker to clearly see where I am going to be placing it.

I know you can get the ray from the click event, which I am already using. But I would like to also be able to use this data in the tick event so I can make a custom marker.

There might be a very obvious way to do it, or a much better and easier way, but so far i haven’t been able to find anything about it.