Buttons and mousePressed

see Buttons play and pause