Knowledge Base

What are Smart Blocks?

Smart blocks are blockly blocks that you can create for yourself to be used in any other project or mission.

Check out the video tutorial on YouTube.

A Smart Block can include any code you like, preferably snippets of code you use often in many CoderZ missions and/or projects.

Once you create a Smart Block, it becomes a part of your profile and go with you wherever you go.

To add an existing Smart Block to your code, simply choose them from the Smart Block menu.


In the example below we created a Smart Block that will make the robot turn 90 degrees to the right.


Here it is being used in code, that drives the robot in a square:

Was this article helpful?
1 out of 2 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.

Powered by Zendesk