When Booster picked up player can break two obsticals UE5?

Oke here is the Qusion

im working on a Endless runner
and now i want to make it so when the player picks up a booster in this case a axe he it able to walk true two obstical without getting hit

any idea how i can make this work

thank you in advance