Re enable Physics between Objects

This problem is kind of syntax problem

i have used Physics.ignorecollision To Disable Collision between the player and a block in my 2d game

but i want to re enable physics between this two in a situation (when he is higher than them just like doodle jump jumping the blocks!!) but i dont know what to do

is there a function ??

Which enables Physics between two Objects or should i call Physics.ignorecollision again if i should call this function again then how can understand if there is any collision between them or not?!

You Wanna know why do i want it like this? ok assume doodle jump the guy was jumping but his head would never hit the topper blocks i want my blocks act like that Ok??

it is very likely that you simply want to enable and disable the collider.

notice the “enabled” first entry

hope it helps !