Well I mean he scored because he travelled . Like , he ' s in a totally different rhythm , spot on the court etc if he doesn ' t travel or dribbles properly before shootinf <| sep |> I ' m getting him a buddy either today or tomorrow ! <| sep |> This article is so bad it hurts to read . <| sep |> Depends on how bad they are I guess . <| sep |> Ok , so . I suppose I misspoke in that you set buttonState once , during initialization . However , it ' s a variable , initialized to zero and then never updated again . The easiest change from this point for a working sketch is to change if buttonState HIGHto if digitalReadbuttonHIGHAt this point it should work as desired , and you can completely get rid of the buttonState variable as it ' s no longer used . Try it , and then I ' ll help you understand whyhow it works D