What Wick Editor Version are you using?
1.9.3
Describe the Problem
I have a sorta console I am adding to my game. I want it so that when the ‘c’ key is pressed, it shows a promt() window where you can type commands. It works but the only problem is that even when it goes to the frame i want it too it brings back up the original prompt() window. Is there a way to make it only open once when i clicked a key?
What have you tried so far?
I wrote this!
if (key === "c" ) { var commandz = prompt('Command'); if(commandz=='basiccommand') { gotoAndStop(2); } }