2. Select the role "unlucky bear" and add the control event "When the green flag is clicked". If necessary, the "unlucky bear" starts from the starting point, drags "Move to X: Y:" in the action module to the script area, modifies the parameters as the starting point, and drags "Loop Execution" to "Move to XY" in the control module.
3. Judge whether the acceleration value is within the normal range, and the normal value is set to 100. Drag "if ... then execute ... otherwise execute ..." to embed the "read acceleration value x" of the "control" module as a parameter in the "() >" of the "operator" module. 100 ",and then drag and drop a" read acceleration value x "as a parameter embedded in" () 4 ". Mind+ is a domestic youth programming software with independent intellectual property rights, which integrates various mainstream main control boards and hundreds of open source hardware, and supports artificial intelligence (AI) and Internet of Things (IoT) functions.