Bluetooth Serial Relay and push button.

thx for the reply.. i'm having problems understanding.. hahaha

how i was going to set pin 9 as pushbutton, then pinmode to input, then if the button is pressed which will be HIGH it will turn on a relay.
i'm not a pro programer.. but i can understand simple ones like block in thunkable.. or app inventor