W3cubDocs

/Godot 4.2

Separator

Inherits: Control < CanvasItem < Node < Object

Inherited By: HSeparator, VSeparator

Abstract base class for separators.

Description

Abstract base class for separators, used for separating other controls. Separators are purely visual and normally drawn as a StyleBoxLine.

Theme Properties

int

separation

0

StyleBox

separator

Theme Property Descriptions

int separation = 0

The size of the area covered by the separator. Effectively works like a minimum width/height.

StyleBox separator

The style for the separator line. Works best with StyleBoxLine (remember to enable StyleBoxLine.vertical for VSeparator).

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_separator.html