| Reference | Downloads | Github

Set Slider to Disappear after 1 click

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Mac 10.13.6
PsychoPy version (e.g. 1.84.x): 3
Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?: Make the slider element disappear after a single click

I thought this would be useful to some searching as it’s own topic. The question is located in a thread:here

Hi @Casey_Jayne, if you set the slider to not Force end of routine, and add the following in a code component in the Each Frame tab:

if slider.getRating():