For button input in a game, use BUTTON(). There are multiple parameter choices for getting what button(s) are being pressed. Also, if you haven't already, check the reference on smilebasic.com