Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...