private void InputChecks()
    {
        if (EventSystem.current.IsPointerOverGameObject())
        {
            return;
        }

        //print("over go");

        if (moving == false)
        {
            if (Input.GetMouseButton(1) && CameraLocked == true && paused == false)
            {
                //targetPos = transform;
                MoveBack();
                uiInteraction.DisableSideButtons();
            }

            if (Input.GetKey("escape"))
            {
                Application.Quit();
            }

            if (Input.GetMouseButton(0))
            {
                ClickOnObject();

                if (CameraLocked == false)
                {
                    MoveCamera();
                }
            }
            else if (Input.GetMouseButton(1) & CameraLocked == false)
            {
                RotateCamera();
                Cursor.lockState = CursorLockMode.Locked;
                // Cursor.lockState = CursorLockMode.Confined;
            }
            else
            {
                Cursor.lockState = CursorLockMode.None;
            }

            //Cursor.lockState = CursorLockMode.Confined;
        }
        else
        {
        }
    }