GetMouseFoci
Jump to navigation
Jump to search
Returns the frames that currently have mouse focus.
region = GetMouseFoci()
Returns
- region
- ScriptRegion[]
Details
- For the common case of simply testing if a region has mouse focus, consider using ScriptRegion:IsMouseMotionFocus().
- The returned table will contain multiple regions in the case where objects at the top of the stack are configured for mouse input propagation.
- The order of results in the table is such that the topmost region will be at index 1, and the bottommost region will be at the last index in the table.
See also
- ScriptRegion:SetPropagateMouseClicks
- ScriptRegion:SetPropagateMouseMotion