Scripting/Client/Functions/GetScreenWidth

Current render size in pixels.

Syntax

GetScreenWidth()
GetScreenHeight()

Example

function onScriptLoad()
{
	GetScreenWidth();
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera