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

so how would i do this, do i like go in the sword bp and add a collision on the tip?