Hi Shevi,
You need to have as many variables of text as words you have in the game. In our case is “Sopa1, Sopa2...”. As we need to indicate the learner that has selected correctly the letters, we can only do it this way: first with a states change from the first and last letters of the word and with a variable adjustment.
So, for example, if the first and last letters of the word are selected, the variable “sopa1” will change its valor to “palabra1”. Here we adjust the variable, set “sopa1” to “palabra1” when the state of the first and last letters are selected.
This “adjust the variable” will make the state of the word change in the text box placed in the right and that the rest of the letters changes the state to correct. As you can see in the project, there’s one trigger for each of the letters of the word that says “change state of (*) to correct when the variable “sopa1” changes".
So, to sum up the process, first you have to set the variable you’ve created for the word when the state of the first and last letters are selected. And then, with that change of the variable to another word, you make all the letters that form that word change to the state "correct" you created when that text variable changes.
Hope this is clear, if not, tell me and I will make you a Peek.
Thanks,