title: Move aim CS:GO Python 2.7
body: <p>Trying to make a simple spray control script for cs:go (for educational purpose)
  I'm using pyHook to activate a function that moves the mouse in a pattern.
  It works great outside of cs:go for example in paint but only make the aim lagg for half a second when ingame. Any tips for making it work?</p>
  
  <pre><code>import pyHook
  import pythoncom
  import pyautogui
  import time
  
  time.sleep(10) 
  def onclick(event):
      pyautogui.dragTo(660, 540)
  
      return True
  
  hm = pyHook.HookManager()
  hm.SubscribeMouseAllButtonsDown(onclick)
  hm.HookMouse()
  pythoncom.PumpMessages()
  hm.UnhookMouse()
  </code></pre>