A way to access currently hovered over LuaGuiElement
A way to access currently hovered over LuaGuiElement
I am sure it's not just me who finds player.selected an invaluable tool for quickly inspecting entities. But when I work on GUI, time and again I find myself missing this ease of access. If I could simply point at an element and access it in code, that would be extremely convenient.
Re: A way to access currently hovered over LuaGuiElement
It has occured to me that this will also let modders implement a selected_prototype analog for custom input on modded GUI elements.