Toggle walking thro walls

Hey guys im trying to hit a button run thro walls for 5 secs and then back to normal being able to run into them again i only need help with the collision any ideas please ??? i have an on hit for the walls to kill player dont know if that helps or not thanks

make the walls from a different collision type than the ground. now set the collision response channel to the walls type to “ignore” on button press and make a delay or a timer that turns the collision back to overlap/block after 5 seconds

Could you trigger or delay the timer to go off every 5 seconds maybe?

Have you looked into collision channels?

Thank you for all you guys help and answers I will try them all and get back to you.