top of page
- API -

reaper.AZ_SetTrackItemDepth(track,setDepth)

- API Detail-

▼Input value

track (MediaTrack) : track

setDepth(integer): 0/1/2/3/4 Set the layer you want to set

*The lower level is affected by the track before the set track, so the level can go as deep as the child track of the previous track.


▼Output value

retval(boolean): Success or failure of API execution

* False will be returned if the hierarchy cannot be navigated.

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


track = reaper.AZ_GetTrackItemSelect(0, 0, 1)

reaper.AZ_SetTrackItemDepth(track, 0)

TRACK

AZ_SetTrackItemDepth

Supported versions:

1.0.3

onwards

Set the hierarchy of the specified track item

bottom of page