Input box that needs input


Im doing a movie that contains an input box what i’m looking for is a way of adding an answer button that will only reveal the answer if there is and input in the input box?



Put this on your button:

on (release) {
	 if (inputBox == "Answer" or inputBox == "answer") {
		 //if answer is right
		 text = "CORRECT!";		
	 } else if (inputBox == "") {
		 //if there's no input
		 text = "Please enter an answer"
	 } else {
		 //if answer is wrong
		 text = "Wrong!"

hope it helps…and hope it’s right too

EDIT: I REACHED MY 100 POSTS MARK :stuck_out_tongue:

Thanks that’s great :}