How do i make a button that plays a sound or put on and of the gravity?

A great example is the sound effect example built into Codea. It has buttons that do different things. There are also some button classes on the forums. Search the forums for them. If you can’t find it or still need help, just LMK.