# Show two ratings on one slider component

**URL:** <https://discourse.psychopy.org/t/show-two-ratings-on-one-slider-component/34917>\
**Category:** Builder\
**Created:** [May 16, 2023, 2:52pm UTC](https://discourse.psychopy.org/t/show-two-ratings-on-one-slider-component/34917 "2023-05-16T14:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isabeln](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@isabeln](https://discourse.psychopy.org/u/isabeln)\
**Post date:** [May 16, 2023, 2:52pm UTC](https://discourse.psychopy.org/t/show-two-ratings-on-one-slider-component/34917/1 "2023-05-16T14:52:11Z")

</div>

Hi everybody!

I am new to PsychoPy and so far I have used the PsychoPy Builder so far for creating my experiment. I will describe my problem using the standard template:

**OS** : Win 10

**PsychoPy version** (e.g. 1.84.x): v2022.2.5

**Standard Standalone? (y/n)**: yes

**What are you trying to achieve?:**  
Participants are asked to rate a stimulus at the beginning of the experiment (slider t1). I used the slider component in the builder, and the stimulus rating works.  
At the end of the experiment, I would like to show the participants their rating value as a marker on the slider again (slider t2). Therefore, I want to show the slider component marked on the position as in slider t1. Additionally, on the same slider component, I would like to show the rating of the “supposedly other” participants as another marker.

**What did you try to make it work?:**  
I have created a variable with properties/ experiment start value “$slider1.getRating()” in the routine of slider t1. Later, I try to access this variable as starting value for the slider in slider t2.

**What specifically went wrong when you tried that?:**  
The slider t2 does not show any marker on the slider scale. I only have managed to display the rating value from slider t1 and the rating value of the “supposedly other participants” as text boxes above the slider component at t2. I think with “getRating()”, I only refer to a number or string which can be depicted in text boxes, but not coordinates for the slider component. But I don’t know how to access the rating value at slider t1 differently.

Any help is highly appreciated! Thank you so much!  
Isabel
