S&box Wiki

Sandbox.UI.Length.Percent

Syntax

static Sandbox.UI.Length? Percent( float percent )

Description

Create a length in percents

Arguments

float percent
The amount of percent for this (0-100)

Returns

A new length