private void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Player" || col.gameObject.tag == "Enemy") // When hitting the player or enemy { hook.ResetGrapple(); } else // When hitting another surface { hook.FreezeGrapple(); hook.GrapplePull(); throwFinish = true; } }