Wowpedia
Advertisement
Wowpedia
240,483
pages

Indicates whether a frame may receive mouse input.

isMouseEnabled = frame:IsMouseEnabled()
isMouseClickEnabled = frame:IsMouseClickEnabled()
isMouseMotionEnabled = frame:IsMouseMotionEnabled()

Returns

isMouseEnabled 
boolean - True when both mouse motion and mouse clicks are enabled.
isMouseClickEnabled 
boolean - True when the frame may receive OnMouseDown and OnMouseUp, and also OnClick for Button widget subtypes.
isMouseMotionEnabled 
boolean - True when the frame may receive OnEnter and OnLeave.

Patch changes

See also

  • Frame:EnableMouse() - Allows a frame to receive mouse input.
  • Frame:IsMouseWheelEnabled() - Indicates whether a frame is receiving scrolling input.

References

Advertisement