Skip to main content

At some point, you’ll want to do something that doesn’t have a block yet. Maybe you want to make a custom greeting function. Maybe you need a block that does some specific math your way. That’s when you use Create Block.

Here’s the idea: you can build your own blocks from scratch, give them custom names and colors, and add them to your Brick Bin. They work exactly like the built-in blocks, except you made them.

Click the “Create Block” button in the toolbar. You’ll see a form where you define your block’s name, what it does, what inputs it takes, and what code it generates. You can choose the color, the shape, whether it returns a value or just executes a command.

Let’s say you want a block that always prints “Hello” plus someone’s name. You’d create a block called “greet”, add an input field for the name, and write the code template that combines “Hello” with whatever name gets passed in. Save it, and boom - your custom “greet” block appears in the Brick Bin.

Now you can use it just like any other block. Drag it out, fill in a name, run it. It does exactly what you programmed it to do.

This is where CryptoBlocks goes from being a learning tool to being a real development environment. You’re not just using blocks someone else made. You’re extending the platform. You’re building tools that help you build bigger things.

You went from user to builder. That’s the whole point.