This is finally something I can help with, I think.
You need to use something like this.
Code: ags
This restricts the mouse to the area defined by the coordinates you specify.
Put this line withing the GUI's script and change the coords to what you want.
Then whatever button closes your GUI put this.
Code: ags
This returns the mouse to original screen coverage.
As for the other question. If it works then leave well alone.
Hope this helps.
Jay.
You need to use something like this.
mouse.SetBounds(1, 14, 108, 93);
}
This restricts the mouse to the area defined by the coordinates you specify.
Put this line withing the GUI's script and change the coords to what you want.
Then whatever button closes your GUI put this.
mouse.SetBounds(0,0,0,0);
This returns the mouse to original screen coverage.
As for the other question. If it works then leave well alone.

Hope this helps.
Jay.