How Do I Make Something Repeat?

I’m a beginner, and I want to know how to make this repeat in the Grasshopper Gallery
var cc = {
red: 200,
green: 100,
blue: 150,
};
drawBox(cc);
var cc = {
red: 70,
green: 50,
blue: 80,
};
drawBox(cc);

3 Likes

Sorry I tried all my best :disappointed_relieved::disappointed_relieved: but when I figure out the solution I’ll reach out to you
:innocent:

1 Like

Hi, I’m also a beginner, and I want to help you. Look at this code I wrote, it might help you. Any question, let me know!

https://learn.grasshopper.app/gallery/edit?savedCode=NPMaanDV1ulAhSu1QymA

2 Likes

Thank you!
2 Likes