The clock element presents a timer, stopwatch, or clock on the screen.
clock.name.currentTime
clock.name.elapsedTime
clock.name.fontHeight
clock.name.remainingTime
clock.name.resetRate
clock.name.textBGColor
clock.name.textBGColorBlue
clock.name.textBGColorGreen
clock.name.textBGColorRed
clock.name.textColor
clock.name.textColorBlue
clock.name.textColorGreen
clock.name.textColorRed
clock.name.timeout
clock.name.borderColor
clock.name.borderWidth
clock.name.bottom
clock.name.dropSource
clock.name.dropTarget
clock.name.dropX
clock.name.dropY
clock.name.eraseColor
clock.name.eraseColorBlue
clock.name.eraseColorGreen
clock.name.eraseColorRed
clock.name.height
clock.name.heightPct
clock.name.heightPx
clock.name.hPosition
clock.name.left
clock.name.monitor
clock.name.right
clock.name.rotation
clock.name.scale
clock.name.top
clock.name.vPosition
clock.name.width
clock.name.widthPct
clock.name.widthPx
clock.name.x
clock.name.xPct
clock.name.xPx
clock.name.y
clock.name.yPct
clock.name.yPx
clock.name.currentItem
clock.name.currentItemNumber
clock.name.erase
clock.name.playThrough
clock.name.skip
clock.name.stimulusOnset
clock.name.timestamp
clock.name.name
clock.name.typeName
The clock element is used to display a timer, stopwatch, or clock on the screen. The clock is a convenient way to show participants how much time is left to complete the task.
The following presents a 5-minute timer spanning a block of trials with yellow letters against a black background:
<clock timer>
/ mode = timer
/ resetRate = block
/ erase = false
/ txColor = yellow
/ txBGColor = black
/ timeout = 300000
/ position = (50%, 10%)
/ format = "mm:ss"
</clock>
The following presents white stopwatch with black letters that spans a single trial:
<clock stopwatch>
/ mode = stopwatch
/ txColor = black
/ txBGColor = white
/ format = "hh:mm:ss"
/ position = (50%, 90%)
</clock>