Set Count Block


#1

Hello! I have an mbot. I am using the mblock coding site to code. I have an example code script that has some blocks that I do not have with the mbot device selected. For example, I don’t have the “Set count to __” or the “Change count to __” blocks. I have looked through the extensions, but I don’t see one that adds these blocks. Please HELP!! How can I get these blocks?


#2

If you mean a block like this:
image

That block is a variable (basically a container that stores a value).
To make one, click “Variables”:
image

Click “Make a variable”:
image

Give it a name:
image

Click “OK”:
image

Your block will appear:
image


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.