I'm making a custom overlay for my textboxes so that it's pixelated. So far it works great - the textbox is made invisible with css, and the spritefont mimics what the textbox would do. I even have the little text cursor (the blinking bar) appear at the end of the text. However, this is a problem when the user clicks elsewhere in the text to type, or uses the arrow keys.
I'd like to get the position of the cursor, but even better would be if I could find another way to get a pixel spritefont textbox.
Project included:
drive.google.com/file/d/1a5lqWqzvnKtE9ASDPkZXOA7hYSdLxal0/view