Panel.LocalToScreen
From GMod Wiki
| Function | |
| Syntax | Panel:LocalToScreen( ) |
| Description: | |
| Find the position of the panel, local to the screen and given coordinates. | |
| Returns: | Int X, Int Y |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.LocalToScreen]Panel.LocalToScreen [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The major difference between this and Panel.GetPos is that when you use GetPos on a child, you get the local coordinates of that child compared to the parent. This simply returns the actual on-screen coordinates.