// Select button pressed
 public virtual void OnSelectBegin()
 {
     mode.LockTarget();
     dragstartanglexy = General.Map.VisualCamera.AngleXY;
     dragstartanglez  = General.Map.VisualCamera.AngleZ;
     dragorigin       = pickintersect;
     startoffsetx     = GetTextureOffset().X;
     startoffsety     = GetTextureOffset().Y;
     prevoffsetx      = GetTextureOffset().X;
     prevoffsety      = GetTextureOffset().Y;
 }