Hi,
I got stuck on figuring out how to display different images/videos given what’s selected. Right now I have a canvas with the images and a selector that looks like this:
newSelector("answer")
.add(getImage("pic1"),getImage("pic2"))
.shuffle()
.keys("F","J")
.frame("solid 5px purple")
.log()
.once()
.wait()
And I want to display only row.gif1
if pic1 is selected and only row.gif2
if pic2 is selected (with the previous canvas removed). What’s the easiest way to do it? Ideally I want to be able to add multiple things when something is selected and those things run serially just like in a normal trial.
I’m not sure if this is clear. Thank you in advance!