class communication

That would be great!

Essentially what I was wanted to accomplish was I wanted the line trace to run on tick. I had it set to fire at .01 so not too crazy. But it would detect interactables passively and when you hover on something it would call up a context menu that would display how you could interact with it. Example: like if it was just an item on the ground it might just say “pick up” but maybe on a door it might say “open” or “breach” so you could have multiple types of interactions with the same item.

In my mind I have a rough idea of how to accomplish it, store the hit result as a local variable an then call “execute_beginfocus” on that actor if it implements the interface.

Then id have to set up a check if the current hit result matches the stored hit result and if not, we end focus.

From there id imagine the context menu logic would then have to handle the execute_intereract.