Reality Composer Pro timelines management, but using code

Is it possible to manage the behavior of timeline totally from code? I am exploring the Compose interactive 3D content in Reality Composer Pro sample project after seeing the related video, but the example shows only the use of Behaviors from RCP to activate timelines actions.

I was wondering if it is possible to, somehow, retrieve some kind of timeline controller that allows me access to its informations just like the AnimationPlaybackController does with single animations. What I would like to achieve is being able to play/pause/retrieve timestamp from them in order to allow synchronization between different users on SharePlay

I suggest you use DispatchQueue to control the start time of the command, and use commands such as .move to control the action of the object.

In This Enumeration Code, When The User Meets Some Specific Conditions (I Have Not Written An Conditions Enumeration), The "Goose" (presume have Goose) Entity In Reality Composer Pro Will Be Moved 1 Second After 3 Seconds:

RealityView { content in
    if let model = try? await Entity(named: "Scene_Name_HERE", in: realityKitContentBundle) {
        content.add(model)//For show your scene
        
        if isUserConditions { //I Have Not Written An Conditions Enumeration
            //When The User Meets Some Specific Conditions, Do This:
            DispatchQueue.main.asyncAfter(deadline: .now() + 3) {//wait 3 sec
                model.findEntity(named: "Goose")?.move(to: [Transform_Postion_Data_HERE], relativeTo: model.findEntity(named: "Goose")?, duration: 1.0)//Goose Move
            }
        }
    }
}

Hope it will be helpful to you!

Note: This is just a Enumeration, so the code may not be used directly or have errors.

Reality Composer Pro timelines management, but using code
 
 
Q