Prevent Rigidbody2D push other rigidbodies [not totally ignore]

Hello,
I want to make rigidbodies not to push eachother, I want them to act as wall to eachother. How can I do it?

If you don’t want them reacting to other objects or physical forces, you can set the IsKinematic flag on.

But if i set the isKinematic, then player can’t jump and can move in air.