User Manual
Print

Program Starts

On Start

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable>visionAnalysisResult</variable><variable>result</variable><variable>photo1</variable></variables><block type=\"pxt-on-start\" x=\"0\" y=\"0\"/></xml>"}
				
			

This is used to execute an event when the program starts.

Parameters: N/A

Output: N/A
Sample code:

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable>visionAnalysisResult</variable><variable>result</variable><variable>photo1</variable></variables><block type=\"pxt-on-start\" x=\"0\" y=\"0\"><statement name=\"HANDLER\"><block type=\"basic_consoleLogText\"><value name=\"text\"><shadow type=\"text\"><field name=\"TEXT\">abcde</field></shadow></value></block></statement></block></xml>"}