Panel:ScreenToLocal
Description
Translates global screen coordinate to coordinates relative to the panel.
See also Panel:LocalToScreen.
This function uses a cached value for the screen position of the panel, computed at the end of the last VGUI Think/Layout pass, so inaccurate results may be returned if the panel or any of its ancestors have been re-positioned outside of PANEL:Think or PANEL:PerformLayout within the last frame.
Arguments
Returns
Page views: 13,259
Updated: A Long Time Ago
Updated: A Long Time Ago