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

I don t understand the part with the wordspace
image_2023-03-12_164225775