Python: how to get the master level sequence

Hello unreal community,

I recently started with unreal and now digging into the Python API. At the moment I am trying to find the master tracks inside my unreal project.
I would be glad if somebody could give me a hint how to find the master level sequence tracks.

Thank you.

It should just be:


Make sure to take a look at examples here in your build directory:


Thank you Max,
I already tried this one (for example on the MeerkatDemo). But I always receive:

In the Levels folder there is one master sequence and another folder with shots (level sequences) which are referenced inside the master sequence.

Finally found the right approach. Mixed up the sequencer example with some other things I found. If somebody is interested here is my approach for searching existing master sequences inside an existing unreal project.