This lesson will show you how to create your first app with LiveCode.
Select New Stack - Default Size from the File menu. Every project you create in LiveCode is a stack.
When you open the Code Editor for the button you will see it is pre-populated with an on mouseUp handler. The code you add in here will be executed when the mouse is clicked and released over the button.
Click the Apply(1) button. The indicator(2) will turn green to show there are no errors.