}respectively, like so;
press_ltis set to TRUE after it has been set to FALSE, the
(press_lt)statement will see that it is TRUE and the nested code will be run. If RT/R2 isn't being pressed then 'press_lt' is not set to TRUE after is has been set to FALSE and the nested code is not run.
press_lt = FALSE;was nested within an else statement, which is a better way to do it, then it could be placed after the
press_lt = TRUE;line, like so;