How can I make something happen when I type something in textInput?

I want to make something happen when I type something like “ASDFGHJKL;” Is it possible to do that?

if(this.value===‘ASDFGHJKL’){
project.gotoAndStop(2);
}

ASDFGHJKL.wick (4.8 KB)
Here, try typing it in caps in this project, and it’ll take you to frame 2. Feel free to replace the ‘ASDFGHJKL’ with anything that you need (i typed it inside of the textinputs clip’s writing bar in the update script, line 17 - 19). Hope this helps.

It works! Thanks! I actually found my second game, Mystified Classes! This should entertain you awhile. I’m working on the sequel right now. Play the first one in the franchise as a token of my gratitude! Mystified Classes

1 Like

The project is still loading for me :( can you try sending an html or wick file instead of a zip?

The Mystified Classes Wick File

1 Like