# Multiple choice polygons

**URL:** <https://discourse.psychopy.org/t/multiple-choice-polygons/19937>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [January 26, 2021, 4:41pm UTC](https://discourse.psychopy.org/t/multiple-choice-polygons/19937 "2021-01-26T16:41:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brzores](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@brzores](https://discourse.psychopy.org/u/brzores)\
**Post date:** [January 26, 2021, 4:41pm UTC](https://discourse.psychopy.org/t/multiple-choice-polygons/19937/1 "2021-01-26T16:41:12Z")

</div>

Hi all,

URL of experiment:  
[Artur / DASS\_online · GitLab (pavlovia.org)](https://gitlab.pavlovia.org/brzores/dass_online)

Description of the problem:  
This is meant be an online based visually appealing response scale whereby polygon fill (clickable stim) changes when it contains mouse. Works well locally but not when moved online. I tried solutions suggested before but perhaps am unable to implement them???

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/2/52cd0d5b23728f37848a536bb01e7029a91eeebc.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/2/82a5746cc2d878a3a6579f6c380d3c42982a6b7c.png)

Thanks in advance.

Artur

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 26, 2021, 8:46pm UTC](https://discourse.psychopy.org/t/multiple-choice-polygons/19937/2 "2021-01-26T20:46:48Z")

</div>

Hi,

Please look at my crib sheet for how to create colour variables.

> **[PsychoPy Python to Javascript crib sheet](https://docs.google.com/document/d/13jp0QAqQeFlYSjeZS0fDInvgaDzBXjGQNe4VNKbbNHQ/edit?usp=sharing)**
>
> PsychoPy version 2020.1.3-2020.2.10Python to JavaScript Crib Sheet Compiled by Wakefield Morys-Carter, Oxford Brookes UniversityPlease share widely and follow Psych\_Stats on twitter. PsychoPy 2020 has an automatic Python to Javascript translation...

Best wishes,

Wakefield

---

<div class="post-metadata">

**Author:** ![brzores](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@brzores](https://discourse.psychopy.org/u/brzores)\
**Post date:** [January 27, 2021, 9:28am UTC](https://discourse.psychopy.org/t/multiple-choice-polygons/19937/3 "2021-01-27T09:28:44Z")

</div>

Hi,

Thank you.  
I did not realise that all code is overridden when changing between both and auto.  
The notice was there but I did not bother to read 😄

Best,  
Artur
