mBlock 5 provides two programming modes: Live and Upload. You can click to switch the modes.
Live
In Live mode, you can view the program execution result in real time, which facilitates the debugging of programs. In addition, you can implement the interaction between devices and sprites by using the broadcast and variable blocks.
:::info
Note:
In this mode, you must keep the device connected to mBlock 5. If they are disconnected, programs can’t be executed.
:::
Upload
In Upload mode, you need to upload the compiled programs to devices. After being successfully uploaded, a program can still run properly on the device when the device is disconnected from mBlock 5.