how to write the condition that the player goes where the player wrote (left, right, attack, up, down)
I don’t know under what condition to do it and how to write it. I don’t know how to write all this together. I have a small screen where the player writes the character’s further actions, and the character executes it. I don’t understand how to write the condition if player …: then the player goes there