Skip to content

UI.FloatInput

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Float
Variable No The variable that holds the input value. none FloatVar(Float)
Prefix No Display a prefix before the number. none StringNone

A numeric input.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
@wire(ui-wire {
  UI.Window(
    Title: "UI Float Input"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      {
        UI.FloatInput(Variable: float)
        ExpectFloat
      }
    }
  )
} Looped: true)

{ui-behavior: ui-wire}