protected override void OnMouseClick(MouseClickEventArgs e) { if (e.Button == MouseButtons.Right) { lock (locker) player.HeadTo(e.Location); } }