attaching code values


I’m designing my first experiment using SuperLab. I have two stimuli (videos), participants will only see one of them. I want to attach code values to the videos to record which one was seen. When I enter codes using Codes on the drop down menu, all of the values get attached to all of the trials. How do I attach a value to one trial and a different value to another trial?


By default in the Code Editor, under This Code’s Value Will Be Attached to: “A trial” is selected. Instead select, “An event or a stimulus list.”