S&box Wiki

Sandbox.UI.Length.Pixels

Syntax

static Sandbox.UI.Length? Pixels( float pixels )

Description

Create a length in pixels

Arguments

float pixels
The amount of pixels for this length

Returns

A new length