Manual
Overview
Language
IntroductionScenes & structureText & inlineGraphsCode panesAnimationDataReuse & logicExpressions & parameters
Elements
Text
ParagraphHeading 1Heading 2Heading 3Heading 4Unordered ListDivider
Media
ImageTableEquation
Callouts
NoteDefinitionExampleTask
Graph
GraphLinePolygonCurveIntegralScatterHistogramPointSegmentVectorCircleSquareRectangleTriangleStarDiamondHexagonTextAxis labelAxis BraceFitResidualsContourHeatmapParameter
Code
Code canvasLines
Animation
CueDraw cueTrace cueHighlight cueSpotlight cueType cue
Structure
SceneStep
Reference
Internote Reference
Inline
Formatting
BoldItalicsInline CodeHighlightLink
Text colour
Red textOrange textYellow textGreen textTeal textBlue textPurple textPink textGrey text
Maths
Maths
Reference
Internote ReferenceValueConstant
Other
FootnoteIcon
Directives
DatasetIncludeConstantsTemplatePresetConditionalForIgnore
Keyframes
KeyframeZoom keyframe
Attribute types
?
  1. Elements
  2. Animation
  3. Cue

Cue

cueBlock elementAnimation

Presence on the timeline: what it wraps fades in at its `in:` anchor and out at its `out:` anchor. The rest of the cue family nests inside it — a highlight or a trace acts on content a cue has already brought in.

Attributes

inImplicit
optional-cue-anchor
Anchor: a step index (1), a time (1.5s), or a compound offset (1 + 500ms). Reveals at this anchor.The head shorthand supplies it: cue:value
Defaultnone
out
optional-cue-anchor
Anchor: a step index (1), a time (1.5s), or a compound offset (1 + 500ms). Hides at this anchor.
Defaultnone
in-duration
duration
In animation duration (ms).
Default500ms
out-duration
duration
Out animation duration (ms).
Default500ms
easing
easing-function
Easing function.
Defaultsmooth

Allowed content

Body { }
linepolygoncurvecirclesquarerectangletrianglestardiamondhexagonvectorsegmentpointtextscatterhistogramcue.highlightcue.spotlightcue.traceparagraphh1h2h3h4listimageequationaxis.labelfitparameterresiduals

Allowed in

scene [ ]canvas.graph { }canvas.code { }

Examples

cue{
    point(x: 1; y: 2)
}(
    in: 1
    out: 3
)
cue{
    Reveal this text
}(
    in: 2
)
On this page
AttributesAllowed contentAllowed inExamples
Cue · Internote