BaseObject.onWidthChanged((width:number)=>{ console.log("width changeinged", BaseObject.Width, BaseObject.Height); }) BaseObject.onHeightChanged((width:number)=>{ console.log("Height changeinged", BaseObject.Width, BaseObject.Height); }) export {BaseObject, History}