Clear Stimulus Display¶
Remove all stimuli from the display queue, and trigger a redraw of the stimulus display. On the next display refresh, only the default background will be drawn.
Note: Before completing, this action waits for all drawing commands to be submitted to the graphics hardware. However, it does not wait for the actual display update to occur. If your experiment must coordinate other actions with the actual display update, it will need to wait until the time provided by predicted_output_time.
Name of the display. If omitted, the default display (if available) will be used.
Name of a variable in which to store the predicted output time of the frame in which the action will take effect. This time is the operating system’s best guess for when the rendered frame will start to appear on screen.
Allowed at top level:
Block, Conditionally Execute Actions (if), List, Protocol, Render Actions, Repeat Actions (while), Schedule Actions, Task System State, Trial, Unconditionally Execute Actions (else), Variable