gui.MousePos

From Garry's Mod
Jump to: navigation, search
 gui.MousePos( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

Use input.GetCursorPos instead.

Returns the cursor's position on the screen, or 0, 0 if cursor is not visible.

Returns

number

mouseX

Returns

number

mouseY
Personal tools
Navigation