you can use this module to have more control of different ypes of clicks on different types of objects (controls, guis, etc.) http://www.adventuregamestudio.co.uk/forums/index.php?topic=49989.0
It's bascially a fancy version of Crimson wizard's code snippet.
It's bascially a fancy version of Crimson wizard's code snippet.