ZIndexMode

Overview

ZIndexMode is an Enum that specifies the ZIndex calculation method for SurfaceGuiBase.

It is used as the ZIndexBehavior property in the SurfaceGuiBase class, determining whether ZIndex is calculated as a relative order among sibling elements or calculated globally.

Items

Name
Value
Description

Sibling

0

ZIndex is calculated as a relative order among sibling elements that share the same parent.

Global

1

ZIndex is calculated globally, determining the order among all SurfaceGuiBase elements.

See also

SurfaceGuiBasechevron-right

Last updated