hai! I want to ask why this line of code can’t be executed in initialization? But firing in an event works fine, so is there any way to make this string of code execute at initialization? thank you
FullScreen.prototype.initialize = function()
{
this.app.enableFullscreen(null);
var mayScreenOrientation=window.screen.orientation;
mayScreenOrientation.lock("landscape");
console.log("Test");
};