surface.ScreenHeight

From Garry's Mod
Revision as of 07:04, 16 June 2015 by Code gs (Talk | contribs)
Jump to: navigation, search
 surface.ScreenHeight( )

Contents

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

You should use ScrH() instead.
Returns the height of the current client's screen.

Returns

number

screenHeight

Examples

Example

Prints out the current height of the screen.

MsgN("Screen height: " .. surface.ScreenHeight())

Output:

Screen height: 1080
Personal tools
Navigation