The button command is how you retrieve bitten input. Every time you press a butten the BT value changes. To the value in an if statement use #(button name)