A list where one item can be chosen. Takes label (The text beside it), selected (The chosen item, from 0), items (The items in one string, separated by |), height (How many items show at once (0 = ImGui chooses)). Returns: The chosen item, from 0.
label
String
selected
Int
items
String
height
Int
level = igiListBox("Level", level, "Forest|Cave|Castle|Moon", 4)