Toggling boolean to True on collision, else false.

I want my boolean to remain False, as long as no collisions are happening. Currently, it turns True, the first time collision happens, and never turns false again.

        public bool IsColliding;

	void Start()
	{	IsColliding = false;
	}

	void Update()
	{
        }

	void OnTriggerEnter2D(Collider2D CollisionCheck)
	{
		if (CollisionCheck.gameObject.tag == "Crowd") 
			{
			IsColliding = true;
          	} 
	}

Just use OnTriggerExit2D to flip your bool back to false when the collision is no longer occurring.

add this:

 void OnTriggerEnter2D(Collider2D CollisionCheck)
{
if (CollisionCheck.gameObject.tag == "Crowd")
{
IsColliding = true;
}
else
IsColliding=false;
}

Found a solution to my problem that doesn’t require this to happen anymore. Tagging this solved for now. Thanks to all for chiming in.