added states

I am having truble with phX.rb
def update
if button_down?  not working getting error of undefinded method
button_down?