ANT task

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10874
    jessicagomes
    Participant

    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?

    #10883
    Jeremy
    Keymaster

    Hello,

    Would you mind either sharing a link to your project, or a definition of the cueText function, so we can see what it does exactly? Thank you

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.