Skip to content
Bananenbrot edited this page Aug 10, 2023 · 4 revisions

The Float Property is a float variable. You can add a float variable to the Properties by writing a new comment over the variable with the syntax:

#STB-Input-{Space}-Float

Note: The number needs to be of type float. "10.0" is correct, "10" not

Example

This Property is only displayed in the Panel.

#STB-Input-Panel-Float
MyFloat = 10.0

This Property is displayed in the Panel and also in the Dialog.

#STB-Input-Panel-Float /// #STB-Input-Dialog-Float
MyFloat = 8.0

Clone this wiki locally