gui.MouseY
From GMod Wiki
Function | |
Syntax |
gui.MouseY( ) Where is this used? |
Description: | |
returns the Y coordinate of the cursor | |
Returns: | Number |
Part of Library: | gui |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Gui.MouseY]Gui.MouseY [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Checks to see if the cursor is within 0-y. |
---|---|
Used on | |
Code | function MouseYIn( y ) return ( gui.MouseY() <= y ); end |
Output | If the cursor is within 0 and y. |