A number you change by dragging left and right (or double-click to type). Takes label (The text beside it), value (The current value), speed (How much the value changes per pixel dragged), minValue (The lowest value), maxValue (The highest value (min = max means no limits)). Returns: The new value.
label
String
value
Int
speed
Double
minValue
Int
maxValue
Int
gold = igiDragInt("Gold", gold, 1.0, 0, 0)