Garry's Mod Wiki

PANEL:OnCursorMoved

boolean PANEL:OnCursorMoved( number cursorX, number cursorY )

Description

Called whenever the cursor was moved with the panels bounds.

Arguments

1 number cursorX
The new x position of the cursor relative to the panels origin.
2 number cursorY
The new y position of the cursor relative to the panels origin.

Returns

1 boolean
Return true to suppress default action.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 12
Render Body 0
Render Sidebar 12