If this template helps then use it. If not then just delete and start from scratch.
OS: Catalina 10.15.7
PsychoPy version: 2020.2.5
Standard Standalone? Yes
What are you trying to achieve?:
I am trying to make a multiple choice task. I have three options for each question, they should be aligned to the left, one below the other and they should change opacity as the mouse component hovers over.
The problem I have is that, as soon as I align the three options to either side, the method “.contains” doesn’t work because it registers when the mouse is over a text box instead over the actual text (and the text seems to be outside the box). Is there any way to prevent this from happening? I know that the text box containing the text stimuli widens when I align the text to the side, but there should be a way to wrap or shrink the text box around the text. Otherwise, there is no way hover can work except if the options are centred which doesn’t work for me since it looks messy.