As a roblox developer, it is currently too hard to make keyboard hints change within text boxes. It is also impossible to get the exact pixel of a character in a text box.
This would be extremely useful for things like this:
If I could place the image of the Q button into the string somewhere, I would be able to say “Press Q to access the menu,” then if the platform changes to console, “Press [X Button] to access the menu” and finally, if the platform changes to touch, I could insert a TextButton so the text says, “Press [Here] to access the menu.” and the person can click the text button within the string to open the menu.
Examples of new API’s that would help with this:
Textbox.LetterPixelPosition
This would return the X,Y position in pixels of a particular letter
Textbox:PlaceGuiObjectAsLetter(LetterPosition)
Textbox:PlaceGuiObjectAsLetter would allow you to place a GuiObject anywhere in the textbox, like an emoji. Ideally, you could place Images and Buttons inside of the chat or a text box for input hints regardless of platform.
Thanks!
-big