Easy public class Drag : MonoBehaviour { public float RotationSpeed = 5f; private void OnMouseDrag() { float rotX = Input.GetAxis("Mouse X") * RotationSpeed * Mathf.Deg2Rad; float roty = Input.GetAxis("Mouse Y") * RotationSpeed * Mathf.Deg2Rad; transform.Rotate(Vector3.up, -rotX); transform.Rotate(Vector3.right, roty); } }