Hi all,
I'm new here. Moving my first steps into Godot and programming. Sorry for my bad English.
So I'm trying to develop a little quiz game and I'm stuck on the following issue:

Basically I have the letters for the answer and in the upper part (with a lenght of 4 in this case) the buttons/placeholders to display the answer, once a button is pressed.
I have two mechanisms:
1) Pressing a button will:
1a) selecting that letter for composing the answer
1b) put visible=false on the button pressed, reducing the number of the buttons
2) Pressing a button on the answer part would :
2a) remove the letter from the answer
2b) put visible=true on the relative button that was pressed before
I can solve issue no.1a) and 1b) but I cannot solve the second part.
So far I've used 3 arrays to store: 1) the buttonId pressed 2) the letter 3) a counter
My question is:
what is the best approach to solve the issue number 2?
Dictionaries? What would you do? At this moment I need your logic approach, less than the right code :)
Thank you!!
Tob