Hello. I need to add many different animations to one canvas I use spine-player I work in JavaScript. My code:
import * as spine from "@esotericsoftware/spine-player";
import "@esotericsoftware/spine-player/dist/spine-player.css";
console.log(spine)
new spine.SpinePlayer("player-container", {
jsonUrl: "src/assets/json/scen1.json",
atlasUrl: "src/assets/json/scen1.atlas",
skin: "default",
});