Clear current note or effects

Does anyone know what is the Lua function to clear current note or effects please[].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:[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

1 Like