<- CRPL reference <- Screen Commands

ScreenWidth

ArgumentsResultNotation
-screen width – n2

Description

Pushes the width of the screen in pixels onto the stack.

Examples

Trace("Your game window is " ScreenWidth " by " ScreenHeight " pixels." concat concat concat concat)