WoW:API MouseIsOver: Difference between revisions
Jump to navigation
Jump to search
MouseIsOver -Documentation by coder_1024-
No edit summary |
(Added return value documentation) |
||
| Line 1: | Line 1: | ||
<center>'''MouseIsOver''' ''-Documentation by [[user:coder_1024|coder_1024]]-''</center> | <center>'''MouseIsOver''' ''-Documentation by [[user:coder_1024|coder_1024]]-''</center> | ||
isOver = MouseIsOver(frame); | |||
MouseIsOver(frame); | |||
Determines whether or not the mouse is over the specified frame. | Determines whether or not the mouse is over the specified frame. | ||
| Line 12: | Line 8: | ||
;''Arguments'' | ;''Arguments'' | ||
:(frame) | |||
:;frame : Frame - The frame to test with | |||
---- | |||
;''Results'' | |||
: | :isOver | ||
:; | :;isOver : Boolean - A <tt>true</tt> value if the mouse is over the frame, <tt>false</tt> otherwise. | ||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
You can determine whether or not the mouse is over the minimap using the below. | You can determine whether or not the mouse is over the minimap using the below. | ||
| Line 27: | Line 25: | ||
-- do something | -- do something | ||
end | end | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Frame Functions|MouseIsOver]] | |||
Revision as of 19:07, 10 January 2005
isOver = MouseIsOver(frame);
Determines whether or not the mouse is over the specified frame.
- Arguments
- (frame)
- frame
- Frame - The frame to test with
- Results
- isOver
- isOver
- Boolean - A true value if the mouse is over the frame, false otherwise.
- Example
You can determine whether or not the mouse is over the minimap using the below.
if (MouseIsOver(MinimapCluster)) then -- do something end