
```js
{
conditions: [{type:'inputEquals',value:'showFace'}],
actions: [
{type:'showStim',handle:'target'},
{type:'startMouseTracking', logAs:'tracking', logRate: 15}, //, logStimulusLocation: ['StimulusLocationHandle']
{type:'setInput',input: {handle:'groupA',on:'click',stimHandle: 'myGroupAHandle'}},
{type:'setInput',input: {handle:'groupB',on:'click',stimHandle: 'myGroupBHandle'}},
{type:'resetTimer'}
]
},
{
conditions: [{type:'inputEquals',value:'fixOut'}],
actions: [
{type:'hideStim',handle:'fixation'},
{type:'showStim',handle:'myGroupAHandle'},
{type:'showStim',handle:'myGroupBHandle'},
{type:'showStim',handle:'startHandle'},
{type:'setInput',input: {handle:'startButton',on:'click',stimHandle: 'startHandle'}}
]
},
{
conditions: [{type:'inputEquals',value:'startButton'}],
actions: [
{type:'removeInput',handle:['startButton']},
{type:'startMouseTracking', logAs:'tracking', logRate: 15, logStimulusLocation: ['startHandle']},
{type:'showStim',handle:'target'},
{type:'setInput',input: {handle:'groupA',on:'click',stimHandle: 'myGroupAHandle'}},
{type:'setInput',input: {handle:'groupB',on:'click',stimHandle: 'myGroupBHandle'}},
{type:'resetTimer'}
]
},
{
conditions: [{type:'inputEqualsTrial', property:'correctResp'}], //Correct
actions: [
{type:'removeInput',handle:['All']},
{type:'stopMouseTracking'},
{type:'showStim', handle:'correct'},
{type:'log'},
{type:'trigger',handle:'endTrial', duration:350}
]
},
--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/8f210f9c-4efd-418e-94c7-5a8db8a44f35%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/CAJOjLE_WjKmBwqjscX9Bv%2BeSLfDFh0T7X-k8VHeWa9p%2BkyzGyw%40mail.gmail.com.