I have two questions that seem to not have been asked yet and they address some issues with inkey.

Why does inkey stop mouse clicks? you'd think that you'd have the chance to click somewhere to stop the inkey like if you made a textbox, and wanted to click out of it to stop inkey or to go to a different textbox.

also why does your function freeze completely not allowing you to modify the inkey at all for instance, im making an morpg. when the player logs in he needs to type in his password, but I cant modify the text.pstring to change it to *'s while inkey is going, where i could just freeze it myself in a loop with another function to stop the inkey. that way I can make it a little more functional since I may have to find a different solution for my text boxes, soley because of this issue.