Online Coding | Create Video Games, Animations, Art and More!

Hopscotch Logo

April 1

Introducing Parameters: A Powerful Tool to Level Up Your Code

A screenshot of the Hopscotch app showing a custom rule with parameters

Hopscotchers, this is a big one: you can now use parameters in your custom rules and custom abilities! Now you can write the code once and use it all over your project.

A parameter is a variable that can be set to a different value each time a custom block is used. You can replace numbers and text in the code inside the custom block with parameters. Then, each time the custom block is used, different values can be used.

Add parameters to your custom rules and abilities

Follow these three simple steps to code with parameters in your custom rules. Or, you can check out some of our existing rules such as “Make A Grid.”

How to use the parameters

Learn more about parameters in custom abilities and custom rules in this article.

Download the newest version to try out these exciting features. If you have any questions, please email us at hello@gethopscotch.com.

Happy Hopscotching!