in edit mode, thats where you type the code. in direct mode, you can click run on the top right of the keyboard, and then press A. (it will run the code you wrote)