Skip to content

cursor

Experiments

Controls the mouse cursor for one trial. The setting takes effect when the trial is shown. Use it to hide the cursor (e.g. precise timing/gaze tasks) or switch to a crosshair/pointer.

Put a single keyword in the cell: hide, hideStart, crosshair, or pointer. Only the values listed under Options do anything. If several words are in the cell, only the last one is used.

ValueEffect
empty cellNo cursor options for the trial; cursor unchanged
hideCursor hidden for the whole trial
hideStartCursor hidden at trial start, restored on the first pointer move that happens at least 50 ms after start
crosshairCrosshair cursor for the whole page
pointerPointer (hand) cursor for the whole page
fileReserved, does nothing
any other keyword (none, wait, default…)Ignored
a dotted filename, e.g. arrow.curBroken: breaks the experiment while it loads
  • If the column is absent or the cell is left empty, the cursor stays the browser default.
  • The cursor is reset at the end of the trial, but only when the trial proceeds directly to the next one, i.e. no feedback screen and no open response window. With hideStart, the cursor is restored on the first pointer move at least 50 ms after trial start, and in any case when the trial ends, even without any movement.
  • Draggable stimuli: each draggable stimulus uses the raw keyword as its own cursor. pointer/crosshair work there; hide/hideStart are not valid cursors for the stimulus itself and are ignored by the browser.
  • The cursor setting takes effect at the start of the trial, before the stimulus appears.
  • A cursor cell on a form row does nothing.
typestim1stimFormatcursor
testapplewordhide

Cursor invisible for the whole trial.

typestim1stimFormatcursor
testface1.jpghideStart

Cursor hidden at stimulus onset; reappears once the participant moves the mouse (earliest 50 ms after trial start).

  • This is NOT a generic CSS cursor column: only hide, hideStart, crosshair, and pointer have any effect. To hide the cursor you must write hide, not none.
  • If several words are present in the cell, the last one wins.