reference / interface
ui
Runs a block every frame that makes the widgets of a window, for the default window or one you name. A widget gives back what the person did with it, so a slider's number or a button's click is a plain value. Every widget takes at (put it at a place of its own, in a window of its own) and width (how wide it is); inside a draw block a ui block makes its widgets right there, and at is a place on the canvas, so a widget follows what it sits by.
dot = 60ui [ dot = slider "dot" 10 120]draw [ circle at 300 160 radius dot]
How to write it
ui [ ... ]ui window [ ... ]