DColorCube.OnUserChanged
From GMod Wiki
| Event Hook | |
| Hook Name | OnUserChanged |
| Syntax | DColorCube:OnUserChanged( ) |
| Description | Called whenever the cursor is moved within the panel. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=DColorCube.OnUserChanged]DColorCube.OnUserChanged [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Called whenever the cursor is moved within the panel. |
|---|---|
| Used on | |
| Code | function DColorCube:OnUserChanged() PrintTable(colorCircle:GetRGB()) end |
| Output | N/A |