how would you make a button start the game if it is pressed?

is it a function?