Skip to content

NumberField ​

Inherits: ConfigField < HBoxContainer

A number (a float or an int property) in a SpinBox. Set the range in the inspector; an int property is kept an int.

Properties ​

floatmin_value0.0:
floatmax_value100.0:
floatstep0.01:
Stringsuffix"":
boolallow_greaterfalse:
boolallow_lesserfalse:

Property descriptions ​

float min_value = 0.0: ​

No description yet.

float max_value = 100.0: ​

No description yet.

float step = 0.01: ​

No description yet.

String suffix = "": ​

Text after the number (s, m, degrees)

bool allow_greater = false: ​

May the number go above the maximum / below the minimum when typed

bool allow_lesser = false: ​

No description yet.