yes, that was ChatGPT )
thank you for your advise.
I have one more questions - it is about backgroundColor.
I tried ti set it to the transparentm but i get all white π
I set it like it says at documentation
new spine.SpinePlayer("player-container", {
jsonUrl: "%PUBLIC_URL%/spine/ai_girl/ai_girl.json",
atlasUrl: "%PUBLIC_URL%/spine/ai_girl/ai_girl.atlas",
animation: "idle_anim",
showControls: false,
backgroundColor: "#00000000",
alpha: true,
animation: "idle_anim",
success: function (player) {
setTimeout(() => console.log("hello"), 400);
},
});
but i get this effect
https://monosnap.com/file/jcB86RJvMRmp9Np7GYvno02rQfApoQ
how cat i set the background to transparent?
thank you again )