View Single Post
Old 01-29-2020, 06:31 AM   #934
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,172
Default

Found it!


Just this code outside of the defer:
Code:
for i = 60, 0, -4  do
  modifiers = reaper.JS_Mouse_GetState(i)
  if modifiers ~= 0 then break end
end
And this inside:
Code:
reaper.JS_Mouse_GetState(modifiers) == modifiers
amagalma is offline   Reply With Quote