top of page

function Msg(param)

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

end


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

reaper.AZ_SetTrackItemDepth(track, 0)

- SCRIPT -

reaper.AZ_SetTrackItemDepth(track,setDepth)

- API -

ID

TRACK

reaper.AZ_SetTrackItemDepth

対応バージョン:

1.0.0

以降

Set the hierarchy of the specified track item

- 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.

bottom of page