I would like to put some text inside a polygon stimulus to give the text a border and to also allow it to become clickable. Locally, this is what it should look like:
Note that “Other” has a red border as I have written code to highlight the border of these rectangles when mouseover is detected (for feedback). In PsychoPy, all rectangle stimuli are drawn first and then the text is drawn over.
However, when run on Pavlovia, this is the result:
The text is a bit washed out. I was able to replicate this result in the builder by drawing the text first and then the rectangle. Note that the rectangles have an opacity of 0.5, as an opacity of 0 would remove the border. Setting the opacity to 1 will give an opaque rectangle, which is fine if the TextStim is drawn first, but the rectangle still ends up covering the text in Pavlovia.
If anyone could offer some insight to this issue, I would highly appreciate it. Thank you!