How to allow an object move within a collider?

Hi all, I am trying to have a block that can only be pushed inside of a rectangular collider. The player has to be able to move through the collider in order to push the block. I have tried to affect the mass upon the block being pushed into the edge collider, the drag, the angular drag, the velocity, isKinematic but nothing will stop the cube from moving when it hits the collider. It is really confusing, any help would really be appreciated…Here is the code:

public class pushBlock2 : MonoBehaviour {

	public Rigidbody2D pBlock2;


	void OnTriggerEnter2D(Collider2D col)
	{
		if (col.tag == "edge") {
			Debug.Log ("pushblock2 touched edge");
			pBlock2.isKinematic = true;
			pBlock2.isKinematic = false;
		}
	}
	void OnTriggerStay2D(Collider2D col)
	{
		if (col.tag == "edge") {
			pBlock2.isKinematic = true;
		}
	}

Someone should declare this site officially dead. The last 8 or so posts I’ve made have got not a single response for weeks. I have posted free script and no response either. Go unity and unity community. Although since I posted this as an answer someone will respond quite swiftly.