Forum Discussion
Will_Findlay
7 years agoCommunity Member
Can Javascript access built in variables?
I'm trying to use this code in a trigger but it is just alerting with "null":
var player = GetPlayer();
alert(player.GetVar("Menu.SlideTitle"));
Am I doing something wrong, or are Built-In...
Will_Findlay
6 years agoCommunity Member
Oh yes. Good call Matthew! And you don't really need that console.log statement. But I like to throw those in there frequently to make it easier to debug when viewing the Javascript console in Chrome. :-)