Does Godot have a Control Node for a Selection

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By fdg23Ak

Does Godot have a Node that allows you to make a selection? The closest I found was OptionButton but I’d rather have arrows that I could click up and down instead of a Dropdown menu. Is there a built in Node for that or do I have to create my own. I just want to achieve the same thing as seen in the picture.

I know it seems like a stupid question and I have already looked through all Control nodes. It just seems weird to me that a feature that is used so often in the Godot Editor doesn’t have it’s own Node so I thought I might ask just in case there is an option on another node that achieves the same thing.

:bust_in_silhouette: Reply From: Wakatta

That control in the picture is a SpinBox.

Thank’s a bunch. Can’t believe I missed that.

fdg23Ak | 2021-01-20 16:04

If you want to display text Just add a child Label to change text based on your selections using the value_changed(value) signal from the Spinbox

Wakatta | 2021-01-20 16:08