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
anchor instance number | (x, y) | (x, y, z) (0, 0, 0) - runtime Local transform pivot in pixels; (0, 0, 0) is the geometric centre.
blendMode instance identifier | string - - ignored Accepted as a generic property but currently has no object blend-mode implementation.
borderRadius shape number | (topLeft, topRight, bottomRight, bottomLeft) 0 - renderer Corner radius for supported shapes.
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.
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.
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.
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.
maskInvert instance boolean - - ignored Accepted as a generic property but currently has no object masking implementation.
maskMode instance identifier | string - - ignored Accepted as a generic property but currently has no object masking implementation.
maxHeight text number - - renderer Maximum text layout height.
maxWidth text number - - renderer Maximum text layout width.
opacity instance, shape, text, asset number 1 - renderer Opacity multiplier for rendered content.
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.
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.
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.
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.
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.
text text string - - renderer Text content. Its presence selects text rendering.
textAlign text identifier | string left left, center, right, justify renderer Horizontal text alignment.
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.