If you use this block, the script will start immediately when the scene starts. A scene is the beginning of your program. A scene is a new view in your program in which other elements can be displayed and different interactions can take place. You can have many scenes for different phases in your program. For example one scene for the intro, one scene for the main menu, one for the first level, one for the second level and so on. With simpler programs, a single scene can also suffice, then the beginning of your program is also the beginning of the scene (as in our small example below).

When_scene_starts_btn.png

Example

After the program is started, the object will begin to move.

When_scene_starts.png

 

Result

Download

When program starts Result