so I am using Animate CC outputting to Canvas, and have the following in my script:
var width = canvas.width;
var height = canvas.height;
console.log(width, height);
Question: When I open the console in the preview window and type in "canvas.width" or canvas.height it returns the correct values. However the console.log doesn't print the variable values. Any ideas what I am missing here?
Thanks!