top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


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

retval = reaper.AZ_SetTrackItemDepth(track,0)

Msg(retval)

- SCRIPT -

retval = reaper.AZ_SetTrackItemDepth(track,setDepth)

- API -

TRACK

reaper.AZ_SetTrackItemDepth

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