Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the frame that currently has mouse focus.
frame = GetMouseFocus()
Returns[]
- frame
- Frame🔗 - The frame that currently has the mouse focus.
Details[]
- The frame must have enableMouse="true"
Example[]
You can get the name of the mouse-enabled frame beneath the pointer with this:
/dump GetMouseFocus():GetName() -- WorldFrame