Clear current note or effects

Hello
Does anyone know what is the Lua function to clear current note or effects please

renoise.song().patterns[].tracks[].lines[].note_columns[].note_value
→ [number, 0-119, 120=Off, 121=Empty]

From here: Renoise.Song.API.lua

Search in the page for note_value

thank you i found:
renoise.song().patterns[1].tracks[1].lines[pos_queue.line]:clear()
which work too
but how i determine the current pattern and track

ps: i found song().selected_track_index for the track
& song().selected_pattern_index
song().selected_note_column_index

1 Like