https://github.com/BabylonJS/Babylon.js/pull/4706 PR is created actually it is so cool and so great idea  thanks @kentpham88 class SceneBase { scene : any; constructor() { this.scene = new BABYLON.Scene(engine); } } class CameraBase { camera : any; constructor() { this.camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene); this.camera.setTarget(BABYLON.Vector3.Zero()); this.camera.attachControl(ca