June 22, 2021 at 2:02 AM #1 Is it possible to use a css gradient as a background color on a layer?Something like: background: linear-gradient(45deg, #FFFFFF 0%, #000000 100%);
June 22, 2021 at 8:37 AM #2 I don't know how to do it in xml, but using JavaScript in the plugin, you can do it like this: Code let t = document.createElement('div'); t.id = 'test' t.innerHTML = 'this is Test layer'; t.style.cssText = 'background: linear-gradient(45deg, #FF0000 0%, #00000000 100%); width:150px; height:25px;' plugin.sprite.appendChild(t);