I'm creating a mod that will (hopefully) speak GUI elements aloud using TTS, it's designed for low vision or maybe dyslexic players. I've got the mod talking for chat messages, so that's a start. I'm having some difficulty accessing the text exposed in GUI elements such as tooltips, however. Can someone provide a Lua statement that will access the current tooltip object and/or the text in that object? On a higher level, how are the tooltips implemented, i.e. what GUI type are they?
In the event that it's not possible to access tooltips, is there a way to access the properties of entities currently under the mouse? I'm not seeing much by way of events for on hover, unfortunately. Thanks for any help with this, it's for a good cause
