I’m trying to overlay an image stimulus on top of a polygon stimulus. In Builder, I could just rearrange the order of the stimuli, but when porting to JavaScript, the polygon covers the image. The only option I can think of is specifying the order that the stimuli are drawn, but I’m hoping there is an easier method.
There is a “depth” component for each stimulus. I thought that would affect draw order, but it doesn’t. What exactly is that value for?
Thanks!
I solved this by declaring all of the stimuli in code rather than builder components and then setting auto draw to True in the appropriate order.
Best wishes
Wakefield