Docs

Property Reference

Properties not listed here can still be parsed as generic name: value pairs. Their runtime behavior is not guaranteed.

The pipeline status column says how far a property travels:

  • runtime: changes how the scene behaves while it plays.
  • renderer: changes what you see, or what gets exported.
  • ignored: accepted, but nothing happens yet.
Property Context Value Default Values Pipeline status Description
active camera boolean - - renderer Animatable discrete camera selection; exactly one eligible camera must be true. A sole camera is inferred only when unspecified.
anchor instance number | (x, y) | (x, y, z) (0, 0, 0) - runtime Local transform pivot in pixels; (0, 0, 0) is the geometric centre.
beatOffset root number 0 - runtime Static finite signed seconds for beat zero. Positive delays, negative advances; invalid values use 0 with a diagnostic.
blendMode instance identifier | string normal normal, multiply, screen, overlay, add, subtract, darken, lighten, color-dodge, color-burn, hard-light, soft-light, difference, exclusion, divide, hue, saturation, color, luminosity renderer Composites the complete layer over earlier content in linear color space.
borderRadius shape number | (topLeft, topRight, bottomRight, bottomLeft) 0 - renderer Corner radius for supported shapes.
bpm root number 120 - runtime Static finite positive beats per minute; numeric constant aliases supported. Invalid values use 120 with a diagnostic.
camera instance identifier - - renderer perspective | orthographic; a non-rendering scene camera.
clipping root, instance, frame boolean false - renderer Clips descendants to the instance or frame bounds.
clipText text boolean false - renderer Clips text that exceeds its height.
duration root, frame number 5 - runtime Timeline duration in seconds.
end shape (x, y) (100, 0) - renderer Line end point.
far camera number - - renderer Far clipping distance greater than near, default 10000.
fill root, instance, shape, text color | define reference | image fill - - renderer Fill for scenes, shapes, and text. Colors render in every context; image paths and fill blocks (source, fit, position, repeat, crop) render on scenes and shapes, while text ignores image fills.
focalLength camera number - - renderer Positive focal length in mm, default 50; mutually exclusive with fov.
fontFamily text string | define reference Arial - renderer Font family or font asset define.
fontSize text number 16 - renderer Font size in scene units.
fontStyle text normal | italic normal - renderer Font style.
fontWeight text normal | bold | number normal - renderer Font weight.
fov camera number - - renderer Vertical field of view in degrees, strictly between 0 and 180.
fps root, instance, frame number 0 - runtime Sampling rate for the instance subtree; 0 leaves sampling uncapped.
height shape, text number - - renderer Explicit shape or text height constraint. May be a percentage of the parent height.
letterSpacing text number 0 - renderer Letter spacing as a fraction of font size.
lineHeight text number 1.2 - renderer Line-height multiplier.
lookAt camera (x, y, z) | instance | instance.glyph(index) - - renderer World target point or unique instance anchor/animated glyph ink centre; excludes rotation.
maskInvert instance boolean false - renderer Inverts vector mask coverage, including outside the source geometry.
maskMode instance identifier | string none none, alpha, luminance renderer Masks earlier siblings in the same parent using vector alpha or linear luminance.
maxHeight text number - - renderer Maximum text layout height.
maxWidth text number - - renderer Maximum text layout width.
near camera number - - renderer Positive near clipping distance, default 1.
opacity instance, shape, text, asset number 1 - renderer Opacity multiplier for rendered content.
orthoHeight camera number - - renderer Vertical orthographic extent in scene units; defaults to scene height.
pathPoints shape array of (x, y) - - renderer Point list used by the path shape renderer.
points shape number | array of (x, y) - - renderer Renderer-backed alias for starPoints with a number or pathPoints with an array.
pose camera camera reference - - renderer Live world-space view pose. Animate between camera references with ordinary timing and replace/mix blending.
position instance number | (x, y) | (x, y, z) (0, 0) - runtime Transform position. A scalar is the x coordinate; omitted components default to 0. Values may be percentages of the parent size (e.g. 10%).
radius shape number 50 - renderer Ellipse radius.
ratio shape number 0.5 - renderer Inner-to-outer radius ratio for a star.
roll camera number - - renderer Clockwise roll in degrees around the lookAt direction.
rotation instance number | (x, y, z) 0 - runtime Transform rotation in degrees. A scalar is the 2D z rotation.
scale instance number | (x, y) | (x, y, z) 1 - runtime Transform scale. A scalar applies uniformly.
sensorHeight camera number - - renderer Positive sensor height in mm, default 24.
shape shape identifier | string - rectangle, ellipse, circle, star, line, path renderer Selects a shape renderer. circle is a runtime-compatible alias of ellipse.
size root, instance, shape (width, height) - - renderer Scene, frame, or shape dimensions. Values may be percentages of the parent size (e.g. (50%, 25%)).
starPoints shape number 5 - renderer Number of points on a star.
start shape (x, y) (0, 0) - renderer Line start point.
stroke shape color | define reference - - renderer Shape stroke color.
stroke text color | define reference - - ignored Accepted syntactically, but the current text renderer ignores it.
strokeCap shape identifier round round, butt, square renderer Native open stroke and trim endpoint cap; SVG keeps its own stroke-linecap.
strokeWidth shape number 2 - renderer Shape stroke width.
strokeWidth text number 2 - ignored Accepted syntactically, but the current text renderer ignores it.
svg asset string | define reference - - renderer SVG asset path or inline SVG source.
targetOffset camera (x, y, z) - - renderer Target-local XYZ offset for instance/glyph targets; world offset for point targets.
text text string - - renderer Text content. Its presence selects text rendering.
textAlign text identifier | string left left, center, right, justify renderer Horizontal text alignment.
textShaping text identifier | string legacy_kern_only legacy_kern_only, full renderer Selects the text layout shaping mode; full enables ligatures.
trimEnd shape, asset number 1 - renderer Finite normalized cumulative stroke arc-length end, clamped to [0,1]. Native vectors and solid round-join SVG strokes; no wrapping.
trimStart shape, asset number 0 - renderer Finite normalized cumulative stroke arc-length start, clamped to [0,1]. Fill is unaffected; start >= end is empty.
up camera (x, y, z) - - renderer World up direction for targeted cameras; defaults to (0, 1, 0).
verticalAlign text identifier | string top top, middle, bottom, baseline renderer Vertical text alignment.
visible instance boolean true - renderer Skips rendering when false.
width shape, text number - - renderer Explicit shape or text width constraint. May be a percentage of the parent width.
wordWrap text boolean true - renderer Enables text word wrapping.