Skip to content

UI.Int2Input

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Int2
Variable No The variable that holds the input value. none Int2Var(Int2)

A numeric input.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
GFX.MainWindow(Contents: {
  ; Setup
  GFX.DrawQueue = ui-draw-queue
  GFX.UIPass(ui-draw-queue) >> render-steps

  ; UI
  UI({
    UI.CentralPanel({
      UI.Int2Input(Variable: int2) | ExpectInt2
    })
  })

  UI.Render(ui-draw-queue)
  GFX.Render(Steps: render-steps)
})

[error] Wire sample-launcher-looped stopped before starting