Line trace only on client

Hi!

I have a weapon (replicated ) attached to my player , I want to do a line trace from it so I can show a cross hair on the screen.
Problem is that the line trace shows up on all clients??

I have everything working if I do the line trace in the my pawn but I want to do it in the weapon so I have all things in one place?

So how do I do a function that only runs on the owning client side in a replicated weapon ??

Is everything replicated in an actor that has Replicate set to true ?

Make it into a custom event then in replication drop down box select ‘run on owning client’

Think I just get it all wrong!
Darn replication, i will never learn it :slight_smile:
Ill keep the function in the pawn.