How to play until half of the animation and only continue playing after scrolling half the page?

Why doesn’t this command work?

<script>LottieInteractivity.create({
    player: "#cult",
    mode:"scroll",
    container: "#hero",
    actions: [
        {
            visibility:[-10,0.44],
            type: "play",
            frames: [0, 180]
        },
        {
            visibility:[0.45,1.0],
            type: "play",
            frames: [182, 300]
        }
    ]
});</script>