public void Update()
    {
        if (clone != null)
        {
            float       sliderValue           = slider.value;
            float       sliderValueNormalized = slider.normalizedValue;
            ThrowObject throwObject           = clone.GetComponent <ThrowObject>();

            if (SwipeControls.SwipeUp)
            {
                Debug.Log("Player swipes up.");
                throwObject.ApplyForwardInertia(sliderValue, sliderValueNormalized);
                ReadyToThrow = false;
            }
            if (SwipeControls.SwipeUpLeft)
            {
                Debug.Log("Player swipes up to the left");
                throwObject.ApplyLeftInertia(sliderValue, sliderValueNormalized);
                ReadyToThrow = false;
            }
            if (SwipeControls.SwipeUpRight)
            {
                Debug.Log("Player swipes up to the right.");
                throwObject.ApplyRightInertia(sliderValue, sliderValueNormalized);
                ReadyToThrow = false;
            }
            if (SwipeControls.SwipeLeft)
            {
                Debug.Log("Player swipe to the left.");
                desiredPosition += new Vector3(-0.5f, 0, 0);
            }
            if (SwipeControls.SwipeRight)
            {
                Debug.Log("Player swipe to the right.");
                desiredPosition += new Vector3(0.5f, 0, 0);
            }

            if (ReadyToThrow)
            {
                clone.transform.position = Vector3.MoveTowards(clone.transform.position, desiredPosition, 5.0f * Time.deltaTime);
            }
        }
    }