Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 14th, 2012  |  syntax: JavaScript  |  size: 0.20 KB  |  hits: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. static var guiClick : boolean = false;
  3.  
  4. static function Clicked (windowRect : Rect){
  5.         if (windowRect.Contains(Event.current.mousePosition)) //anytime the mouse is over a GUI rect
  6.                 guiClick = true;
  7. }