I am trying to change the text content of a Mogrt file using ExtendedScript but whenever I execute the code below the text becomes blank, and the Mogrt name on the video track resets to "Graphic". It's like everything's been reset to default.
var sequence = app.project.activeSequence;
var videoTrack = sequence.videoTracks;
var mogrt = videoTrack.clips;
The Mogrt I'm using is the Basic Title one found in the Essential Graphics tab, alternatively I used the type tool as well and the same happens in both cases.