void OnTriggerEnter2D(Collider2D col) { if (isMoving) return; if (col.tag == Tags.Player) { CloseDoorsAndMove(); } }