I can't help there. I haven't done anything with the mouse yet At a quick glance at the API, it'll involve PlayerGuiElementClickEvent. That returns the element (e.g. button) and X/Y floats relative to the element
Yes it is is that is what the Red said in the post and is in the Javadoc. It is sort of hidden in the Player.GUI and hard to find. Do not turn on the cursor before you have the click event working or it will lock you out. The cursor being on will not allow you access to to the command line or RCON. Basically until you have the return to turn off the cursor it will lock you in cursor mode forever with no recourse but to log off.