Detect&Pass Based On Cursor Column Location

You can determine if the cursor is either in the note-effect column area or the note column area. More detailed positions are not possible in Lua.
For an example how to use this, browse the source of this widget:
http://www.renoise.c…column-masking/

Simply pick a few of the keyboard shortcuts and assign those. Then position the cursor either in one of the notecolumns and execute the masking shortcut or position it in one of the effect columns and execute the shortcut. Watch the response in the dialog.

Dialog can be popped up from right-click in the pattern editor then select “pattern → ~Masking options”