Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

randomised variable

Hi
I am running a dot-probe task, after pair of photos, one below and the other one down the fixation point.
A "<" or ">" to appear by random in the place of each of the photos. I have defined a Location variable but not sure how to address the vertical position in the screen. I tested 0,192 subtend to x and y position. But it not works. Please could you advice how to do this?

Peace,
Masoud

Comments

  • Hi Masoud,

    The x and y coordinates of a sketchpad element are defined through two separate keywords. So you need two variables to specify the location, for example a my_x and a my_y variable as shown below:

    draw textline center=1 color=white font_bold=no font_family=serif font_italic=no font_size=32 html=yes show_if=always text=">" x=[my_x] y=[my_y] z_index=0
    

    Does that clear things up?

    Cheers,
    Sebastiaan

Sign In or Register to comment.