I need to create a routine with around 100 rectangles in a fixed position (all in a horizontal line at a fixed distance). These rectangles should be clickable (e.g. they should change color when the participant clicks on them, but that part is not an issue).
I can use 100 polygon component inside the builder, but I guess that there is a better way to draw all 100 polygon using a code component. I tried looking around the forum and I think I should use DotStim, but I am not sure how.
Does anyone have an example on how to code a large amount of polygons being drawn?