surface.GetScissorRect
Recently Added
This was recently added in version (2026.02.26). It might only be available on the Dev Branch right now.
Description
Retrieves the currently active scissor rect for the surface library. A faster, narrower version of surface.GetPanelPaintState.
Useful for panel retrieving current panel's culling from PANEL:Paint.
This does NOT return values set by render.SetScissorRect.
Garry's Mod
Rust
Steamworks
Wiki Help