code: def get_movement_delta(self):
          
          pos = self.pan - self.previous_pos
          self.previous_pos = Vector2(self.pan.X, self.pan.Y)
          return pos
docs: Get the amount the camera has moved since get_movement_delta was last called.