hey @Cassie,
I have tried your method but not working,
document.getElementById("slide").onmouseenter = function() {mouseEnter()};
document.getElementById("slide").onmouseleave = function() {mouseLeave()};
function mouseEnter() {
animation.pause();
}
function mouseLeave() {
animation.play();
}