I figured it out. You need to put this as the events Custom code, NOT the conditions. var scrollCheckpoints = [0.25, 0.5, 0.75, 1];
var checkpointsReached = [false, false, false, false];
var checkpointReached = false; // Global variable to indicate checkpoint reached
function onScroll() {
var sc...