Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

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
Advertisement