input.int

Integer input shown in the settings dialog, or a dropdown of numbers when options is given. Returns an input int.

input.int(defval: const int, title: const string = na, minval: const int = na, maxval: const int = na, step: const int = na, options: const int = na, tooltip: const string = na, group: const string = na, inline: const string = na, confirm: const bool = false, display: const string = na, active: const bool = true) -> int

Parameters

Example

len = input.int(14, "Length", minval=1)