Skip to content

UI.Property

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any None
Output ➡️ The resulting output of the shard Float4Float2FloatBool
Property No The property to retrieve from the UI context none UIProperty

Retrieves values from the current state of the UI.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
@wire(ui-wire {
  UI.Window(
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      UI.CentralPanel(
        Contents: {
          UI.Property(UIProperty::RemainingSpace)
          Once({
            Log
          } 2.0)
        }
      )
    }
  )
} Looped: true)

{ui-behavior: ui-wire}