Using blocks to select items

I am a rank beginner and I have searched all over trying to solve this but I think I have the wrong terminology. I found an illustration that looks like it will do what I want to do, but I can’t find the blocks depicted in the image.


When I go to variables I do not see a place to choose “selecteditem”. I am sure I am just missing something really obvious.
Thanks for any help you can give.