A response handler element that records subject response by mouse click. At default waits for one click anywhere on screen, then records response and ends on its own. Note mouseClick elements may not work with trackpad taps.
Response values generated are mouse button numbers clicked. You can also use properties to specify areas on screen the subject can click on and record area numbers clicked instead.
By default yes, when it records one response. You can change number of responses to wait for in property maxNumResponses. If you set maxNumResponses = <cd>inf<cd>, records responses indefinitely until a condition you set in property end.
If an element can end on its own, you don't need to set end conditions for it in property end (unless you want it to maybe end earlier).
No—runs until a condition you set in property end.
You can vary or allow the subject to adjust the following input properties of an object of this type in real time when it's running. If you need to make other properties adjustable, you can edit the element type code—see Element Type Programming Manual.
position
nn_eyes
rotation
colorMask
alpha
intensity
contrastMult
drawCodeVars
(None)
(None)
Default: click anywhere and response value = mouse button number
Set one or more rectangular areas using a 2-column matrix containing centers [x y] (deg) in areaPositions. Row number corresponds to area number. Positions are relative to element position, which you can set in position (default relative to screen center).
Also set areaSize to a number that is side length for square areas, or a vector [width height] for rectangular areas (deg). Or you can use multiple rows (a column vector or matrix) for different sizes for different areas.
OR
areaPositions = <cd>[]<cd> → subject can click anywhere and response values are mouse button numbers clicked.
Default: current shape
<cds>"Arrow"<cds>
<cds>"CrossHair"<cds>
<cds>"Hand"<cds>
<cds>"SandClock"<cds>
<cds>"TextCursor"<cds>
PsychBench uses record properties to record information during experiments. You can't set record properties but you can see them in experiment results by listing them input property report.
PsychBench © 2017–2023 Giles Holland
Website © 2023 Giles Holland
End user license agreement