Page 1 of 1

A way to access currently hovered over LuaGuiElement

Posted: Mon Dec 25, 2023 2:18 am
by curiosity
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

Posted: Mon May 06, 2024 1:10 pm
by curiosity
It has occured to me that this will also let modders implement a selected_prototype analog for custom input on modded GUI elements.