Studiocode Tutorials | 3.15 Code Window - Button Type: Code
In this video tutorial we will cover code buttons.
As you can see i'm going to click and drag a button down into the code window and by default its button type is code. I can see that here on the code window toolbar but if I double click on the button the inspector opens and I can also see the button type here on this menu. So this is what we call a code button or sometimes just code for short.
By default code buttons are blue in color and we'll have a diamond as an identifier. Colors identifiers and other attributes can be changed and will be covered in other tutorials. Code buttons are used to mark points in the timeline or in other words are used for coding. If I want to coat an instance I enter code mode in the code window and activate the code button by clicking it when I want my instance to start and deactivate the button by clicking it again when I want my instance to end.
The main thing to note here is that one code button creates the same named row case sensitive in the timeline and the points at which you clicked on the code button correspond to the beginning and end of this instance in the timeline, so in terms of sports code terminology I would say I just used a code button to code an instance in the timeline.