for i = 60, 0, -4 do modifiers = reaper.JS_Mouse_GetState(i) if modifiers ~= 0 then break end end
reaper.JS_Mouse_GetState(modifiers) == modifiers