How to differentiate keys?

Im trying to build emotional Stroop tasks.
An emotional word comes up on the screen with different colors (red, blue, green, purple) and the participant should press the button according to the color of the word. However, all the keys are active during the experiment. I can press all the keys but for each word, there should be only one correct answer. How can I make that?

In the :keyboard: Keyboard component, you can set what the correct answer is - if you make this “Set every repeat” then you can use a $ and set it as the name of a column in your spreadsheet, just like you will have with color.

Thank you