How do I make a line trace STOP AND DON T HIT MY CHARACTER when it hits my shield

traces are usually for projectiles but can be used in this case but its not usually how its done