How to replicate a function without player character?

or a player controller

while you hover the target you can get a reference to it, then you can call the RPC on the player controller which calls the interface by reference.

1 Like