The development platform has built-in variable types for detecting when a boolean's value changes to true or false, making input handling pretty trivial. The syntax for the language was pretty alien to me at first, but it was pretty easy to get the hang of it.