LayerCollector

LayerCollector : GuiBase2d

Overview

The LayerCollector class is an abstract base class for 2D UI containers that render GuiObject elements in layers. It serves as the foundation for higher-level classes like ScreenGui and SurfaceGui, which manage how graphical user interface (GUI) elements are displayed and organized in a game.

Description

The LayerCollector class provides core functionality for managing and rendering GUI objects. It includes properties and behaviors that control how UI elements are displayed, updated, and reset during gameplay.

Properties

Enabled

bool

A boolean property controls whether thea Layercollector is enabled or disabled.

Code Samples

ScreenGui.Enabled = false

Methods

Events