Millisecond Forums

position problem

https://forums.millisecond.com/Topic15414.aspx

By charlottebooth - 1/26/2015

Hi there,

I have made a dot-probe where pictures appear on the left and right side of the screen. At the moment the left pic is positioned (30%, 50%) and the right pic (70%, 50%).

However, this task will be completed by participants on different sized computers and I want to make sure that the pictures will always be equal distance apart - for example 10cm.

What is the best way to achieve this?

Thanks,

Charlotte
By Dave - 1/26/2015

If you are okay with the distance being *approximately* 10cm, the /position attribute allows you to do that (it is not restricted to percentages). You can specify pixels (px), centimeters (cm) or millimeters (mm).

If you want to ensure an *accurate* distance of 10cm, you need to include a calibration procedure in your script. Pixels (which as what displays deal with) have no fixed relationship to physical dimensions (mm, cm):

https://www.millisecond.com/forums/Topic14608.aspx