Hello,
I’m struggling to design an ANT task due to issues with the cues. I have a spatial cue that changes position, sometimes up and sometimes down. Here is my code:
cueText(cue)
.css('background',cue=='center'?'black':'transparent')
.css('margin-top',cue!='spatial'?'unset':`translate(${position=='above'?'-':''})+"4em"`)
.css("font-size", "64px")
.print("center at 50vw","middle at 50vh")
However, the spatial cue only appears above the fixation cross. Can you help me understand where I’m going wrong?