This everyday robot makes the perfect nightlight. No need to find a switch in the dark, simply wave your hand above the Distance Cubelet to turn your Flashlight on and off!

Use the “distance-toggle” file to code your Distance Cubelet.

Play Video


Required parts.

Build it.

Assemble robot construction pictured.

Program Distance Cubelet.

Download .cubelet file.
Program with Blockly in Cubelets Console.

Connect the Bluetooth Hat (required for programming) to your robot construction.

Launch Cublets Console.

Navigate to Blockly Coding.

Pair with your robot.

Select the Distance Cubelet.

Open the .cubelet file – Local Saved Programs.

Program the Distance Cubelet.

Remove Bluetooth Hat and enjoy!


Frequently asked questions.

Cubelets FAQs is your place to find answers to common questions about Cubelets robot blocks, orders, and Modular Robotics.

Contact us.

Need help, can't find an answer? Contact the Modular Robotics support team and we'll help you!

Shipping and tax policies.

Get the details on Modular Robotics shipping policies and sales tax collection for orders in the United States and around the world.

Warranty and returns.

Cubelets are backed by a one year warranty. Need to make a claim, get a replacement, or have questions? Click to get started.

Cubelets Resources.

Everything you need to teach with Cubelets robot blocks.

Explore a huge collection of K-12 lessons, activities, guides, training, and more.

New to Cubelets?

Learn everything you need to know to start creating more with Cubelets robot blocks in this handy Getting Started Guide.

Go further with Cubelets apps.

Go beyond the building blocks and play with the code inside. Cubelets apps make it easy to create even more with your Cubelets.

Looking for some inspiration?

There are millions of robots you can create with Cubelets. Check out these robots to help inspire your inventions.

Shop Cubelets.


Cubelets robot blocks are used by educators all around the world to help students explore computational thinking, coding, and STEM. 

Jump to...

At Home.

Bring home the educational teaching tool loved by teachers everywhere. Explore sets designed for learning through play.

Jump to...