Find CurrentCue

  • Hi,


    I'm searching a way to get the object from the current cue in LUA. I need to check the amount of cueparts in my current cue.


    I found the function to find the current executor page and sequence:

    Code
    CurrentExecPage()
    SelectedSequence()


    Thanks

  • After some trial and error I fond the solution:


    Code
    function Get_CurrentCue()
        local mySequence = SelectedSequence()
        local cue = mySequence:CurrentChild()
        local output = cue[1]
        return output
    end