Event tick hooked to a line trace and only one "cast to actor" node make my fps fall slowly to unplayable. Is there any alternative to fix this ?

What I really meant was this:

You’re comparing whether the Hit Actor is the Hit Actor.