Developing code in Builder to collect continuous ratings

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

OS: Mac Sonoma 14.4.1
PsychoPy Version: 2022.2.4

I have designed an experiment on PsychoPy Builder which is designed to collect continuous ratings as participants listen to music clips. I’ve written some code to collect the data, but want to make sure I wrote it correctly, as I don’t have a ton of experience. I have pasted screenshots of the code I’ve written - what I’m looking for is for participants ratings to be recorded continuously as well as the timestamps for each recording of rating. I need this for 20 different music clips. I should also note my slider in this routine is entitled “slider”. Please let me know if further clarification is needed