[CLOSED] Anything Below This

So I want for what is inside the If to happen when the Z is below/above the number written. But what happens is that CanCreate only gets false when Z is in the number written, not above or below. How I make it work? (Sorry if it’s a dumb mistakee, I’m new to Unity :D)

if (Collide.point.z<31 || Collide.point.z>-31)
        {
		CanCreate=false;
		break;
	}

Your English is almost unreadable.

But I think you want this;

 if (Collide.point.z<31 && Collide.point.z>-31)