Honestly id redesign it, use an interface for interaction
say press ‘e’ for interact
on pressed if ‘interactable ref’ is notvalid trace forward to actor and set it as ‘interactable ref’
if ‘interactable ref’ if it is valid call throwevent and set ref to null
this way it will work for all interactables, so barrels, crates etc