Dropdowns
It would be really helpful to be able to do dropdowns of different options for go.property(). So you write something like maybe this in your code:
go.property(“value”, 0, {options={foo = 1, bar = 2, foobar = 100}})
And then get a drop-down with the options foo, bar and foobar. A typical case for this is if you want to be able to set the type of something. Just having a number box where you can write any number won’t be very intuitive.
Booleans
go.property(“boolean_value”, true)
That displays a checkbox.
Tooltips
go.property(“value”, msg.url(), {tooltip = “A tooltip text that is shown when the field is hovered”})
Grouping
go.property(“value”, msg.url(), {group = “Things”})
(As per Grouping script properties)
More complex interface options
For a vector4 I would want to be able to say that it is a color, and get a color picker.
For numbers I would like to be able to set the range and then get a slider as well as the number field