Change opacity after valid click

Experiment Test Run.psyexp (53.1 KB)

Hi! I am trying to make a code component so that the opacity of my polygon will change from 0 to 0.5 after my mouse component clicks on the polygon. After that there will be a delay before it moves on to the next block in my loop. I am having trouble making the opacity change after the mouse clicks on the polygon. Can someone help me adjust my code please?