Object goes throuh the bricks

Hi im trying to make object switch direction when touching bricks i have bricks on top and bottom of object but the object goes trough the bricks when using multible objects works ok for 1 object

here are the events, what im i missing?
I have trying using for each object

In the first event, add the action to separate the boulder from the bricks.

Then remove the trigger once, otherwise it could lead to the second of 2 collisions that are very close, but not simultaneous, being ignored. There’s an explanation in this thread to how the trigger once works.

thanks for clearing this out for me got it working