cue.spotlight
Takes the rest of the environment down — the other marks, the grid and the axes — and leaves what it wraps lit. Purely the dimming: nothing is drawn on the content itself, so pair it with a cue.highlight where a ring is wanted too.
#Attributes
When the environment dims: a step index (1), a time (1.5s), or a step with an offset (1 + 500ms).Can be written as shorthand: cue.spotlight:value
Default
0easing
Default
smooth#Allowed content
#Allowed in
#Examples
cue.spotlight{
curve(expression: x^2)
}(
at: 1
)cue.spotlight{
point(x: 2; y: 4)
}(
at: 2
duration: 4s
)