I tested and I did "kind of" get this to work yaay! And yes exactly like you explained onPaint. I would it to be clicked ONLY by real mouse, not by "ingame mouse" that the bot uses (unless mouseinput is enabled).
I would like to make UI that can be used even if mouse movement is disabled. How can I read where actual mouse is within bot screen for the UI? Not the ingame mouse (the one that performs all actions). I would basically like to be able to press things while the bot is running and not mess it up.