defineCue
Create a named cue with threshold values.
const CUE = defineCue("my-cue", { first: 0.25, second: 0.5, third: 0.75,});Options
Section titled “Options”const SCROLL = defineCue("scroll", { visible: 200 }, { range: [0, 1000] });range— custom value range (default[0, 1]). The schema threshold values are relative to this range.