//checks magnitude of the acceleromter value - detecting any shake
 public void movementCheck(Vector3 accelerometerCurrentVal)
 {
     currentDeviceRotation = DeviceRotation.GetRotation().eulerAngles;
     if (keepStillTriggered)
     {
         if (accelerometerCurrentVal.magnitude > 1f || hasRotationChanged(currentDeviceRotation) || thirdPersonUserControl.GetMoveMagnitude() > 0)
         {
             witchPromptText.text = "YOU MOVED - GAME OVER";
             isStill = false;
         }
     }
 }