How to vary colour of a rectangle with hex code in loop?
I created a rectangle in my sketchpad and tried to specify the colour as [target_colour].
I would like to vary the colour of the rectangle (square in the pic) with hex values. This is how my loop looks like (see below)
However, I am met with an error saying that [target_colour] is unknown (see blue bar) whenever I try to edit OS script (draw rect color="[target_colour]").
How should I go about this? Thank you in advance!