1
Resolved Questions / Re: How can I have an action occur based on specific text being entered?
« on: January 12, 2013, 08:56:46 am »
Thanks!
Final code for the record:
When drawing
-Draw text [user input] at (x:[ ], y:[ ])
When [a] is [pressed]
-Set [user input] to [user input] + [a]
(Repeat for each letter)
When [backspace] is [pressed]
-Set [user input] to part of [user input] (start:[0], end:[[user input] length] - 1)
Final code for the record:
When drawing
-Draw text [user input] at (x:[ ], y:[ ])
When [a] is [pressed]
-Set [user input] to [user input] + [a]
(Repeat for each letter)
When [backspace] is [pressed]
-Set [user input] to part of [user input] (start:[0], end:[[user input] length] - 1)