Get Mouse Focus
Game Version Wrapper
Compatibility wrapper for GetMouseFocus and GetMouseFoci client differences.
NamespaceEModuleCoreLifecyclewrapper
E:GetMouseFocus()Compatibility wrapper for GetMouseFocus and GetMouseFoci client differences.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Frame currently under the mouse, or nil.
Example
Section titled “Example”local focus = E:GetMouseFocus()Use when addon hover logic needs to survive the GetMouseFocus API transition.
Source: ElvUI/Game/Shared/General/API.lua:486