## Adjust Last Touched Parameter I posted about this [in this Reaper Forum post](https://forums.cockos.com/showthread.php?t=284789). This script does the *adjust by X' for us: ```lua -- inc_last_touched_param.lua function inc_last_touched(rel) local retval, tracknumber, fxnumber, paramnumber, val, track retval, tracknumber, fxnumber, paramnumber = reaper.GetLastTouchedFX() if retval then track = reaper.GetTrack(0,tracknumber-1) val, minval, maxval = reaper.TrackFX_GetParam(track, fxnumber, paramnumber) val = val + rel if val > maxval then val = maxval end if val < minval then val = minval end retval = reaper.TrackFX_SetParam(track,fxnumber,paramnumber,val) end end ``` And then we can create multiple actions thus: ```lua -- thanks to https://gist.github.com/X-Raym/f7f6328b82fe37e5ecbb3b81aff0b744 -- for the dofile trick local script = "inc_last_touched_param.lua" local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/])") local script_path = script_folder .. script dofile(script_path) inc_last_touched(0.01) ```