
I've got some code that creates a text object above a token on the objects layer.I want this text to act as a timer that counts up while it is that player's turn. The issue i'm having is that when I change the "text" property of the text object the font size goes from 64 down to 8, making the text tiny. I tried setting the font_size explicitly but that doesn't work either. I can't think of any way to work around this other than deleting the object and creating a new one. Please help! Code below: var token = getObj("graphic", tokenId); if (token){ var top = token.get('top'); var left = token.get('left'); var height = token.get('height'); var obj = createObj("text", { _pageid: Campaign().get("playerpageid"), layer: "objects", top: top-height, left: left, text: "00:00", font_size: 64 }); var timeout = setTimeout(function(){ obj.set('text', "11:11"); // Also doesn't work //obj.set({text: "11:11", font_size: 64, width: 100}); }, 500); }