Action
A trial command that will be executed when the condition matches the result of the expression You can use ‘+’ or ‘&’ screen operators as a prefix to trial commands to influence screen presentation.
Examples for response-dependent feedback using the OE-command
PICTURE Far
Try to click closer to the center
PICTURE Near
Good job !
; Expression to compute distance from mouse click to center of screen location
VARIABLE Distance
EXPRESSION CheckDist
ifelse(get_rsp('dist') > 5, 'far', 'near')
; Trial definition for displaying the stimulus
TRIAL T1
TL Circle KeyTbl 10 0
SP Fix Center 1 500
RK Press
+SP Target Circle ? 0 1
OE CheckDist
far: SP Far Center(1) 1000
near: SP Near Center(1) 1000
Copyright 2023 - BeriSoft Inc.
All rights reserved