Garry's Mod Wiki

gui.MousePos

number, number gui.MousePos()

Description

We advise against using this. It may be changed or removed in a future update. Use input.GetCursorPos instead.

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

Returns

1 number
mouseX
2 number
mouseY

Page Links


Special Pages


Wikis

?

Render Time: 75ms

DB GetPage 54
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 6