examples

ui-label.js

1
2
3
4
5
6
7
8
9
10
11
// Label without position
scoreLbl = ui.label("Score")
scoreLbl.value = 0

// Label with position
positionLbl = ui.label("Score", { x: 100, y: 100 })
positionLbl.value = 100

// Label with x, y coordinates
positionLbl2 = ui.label("Score", 860, 100)
positionLbl2.value = 100