It's not that complicated as you might think.
I changed the names of the Scenes of the above example to make it more understandable.
Dim Fb As xpOutputFrameBuffer
Dim OnairScene as xpScene
Dim NewScene as xpScene
Engine.GetOutputFrameBuffer 0, Fb 'replace the 0 with the number of your framebuffer
Fb.GetSceneOnLayer 0, OnairScene 'replace the 0 with the number of the layer where the first scene is on
Engine.getSceneByName("Scene2"³, NewScene)
NewScene.SceneDirector.Position = OnairScene.SceneDirector.Position
NewScene.SceneDirector.Play
Best regards,
Kenneth
#XPression