Closed cbp2170 closed 6 years ago
use requestInput(["answer1", "answer2"], whenDone);
whenDone is the function that should be run after the player selects an option. (to pass functions as an argument, just write the function name without parentheses)
How does one make the buttons on the screen work? It seems that
writeText()
is the newalert()
, but what is the newprompt()
? How do I buttons?