Spacer

This type represents a spacer control.

circle-info

This type inherits Control type. All of its base methods and fields are also available in this type.

__call

Constructor

Constructs the spacer.

Arguments

Name

Type

Description

id

ControlID|string

ID.

size

number

Size, in pixels

Returns

Type

Description

Spacer

Spacer instance.

Example

local sp = gui.Spacer(id, 20);

Last updated