Scripting/Client/Functions/GetScreenWidth
Current render size in pixels.
Contents
Syntax
GetScreenWidth()GetScreenHeight()Example
function onScriptLoad()
{
GetScreenWidth();
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- WorldPosToScreen
- ScreenPosToWorld
- GetGroundZLevel
- GetGroundZLevelForPos
- GetGroundZLevelForPosLoad
- Draw3DText
- Draw3DSprite
- Draw3DTextWorld
- Draw3DSpriteWorld
- SetCameraMatrix
- SetCameraTarget
- RestoreCamera
Section: Screen, world and camera
Categories: Client functions | Screen, world and camera