Hag exports the following variables:
hag_clipboard : String
The contents of the local clipboard used for copy & pasting in text-boxes.
hag_index : Integer
Contains the last sprite index used by Hag, incremented by one. This can be used to create a sprite that appears to the front of Hag GUI elements, e.g. a mouse cursor sprite or a tooltip sprite.
hag_mouse : Integer
Contains the current mouse cursor state. See Mouse Cursor Hints.
hag_tooltip : String
Contains the current tooltip, or an empty string. See Tooltips.
You can also contact me directly - I make an effort to reply to every e-mail.