Wall detection with box in the edge of the character

Hi everyone,

I’m trying detect a wall next to a character, and for that, I wanted to use a hitbox on each side of my character (It’s a side scrolling game).

I have made a bit of research, and I found it could be because I didn’t match the boxes to activate OnHit events, but after I’ve done it, I have the same problem: I have no effect when i’m colliding with a wall.

Can someone help me ? I don’t understand what’s wrong here (I’m new to UE4 so maybe I’ve miss something).

Anyone know what is the problem here?