Outputting crawl end position while animating

Is it possible to output the end position of a crawl while it is animating in the framebuffer? I’d like to trigger a scene director script once the end of the crawl has reached a certain X position. Thank you.

Hi John.

In this case I recommend to use event marker which position x equals text position plus text weight in VL. And scrip below when event is OnShow

    Dim frambuffer As xpOutputFrameBuffer
    Dim scn As xpScene
    Dim anim As xpSceneDirector
    engine.GetOutputFrameBuffer(0, frambuffer)
    frambuffer.GetSceneOnLayer(0, scn)
    scn.GetSceneDirectorByName("anim", anim)
    anim.PlayRange(0, anim.Duration)

Thank you, Roman, for the reply. In this case, however, I’m trying to dynamically track the end point of a crawl within a scene group that does not use a scene director. I was looking through the xpSceneGroup members in the SDK and didn’t see anything. It’s possible I may have missed something.