Skip to main content
Every vector in Rive is made of two parts:
  • A shape decides how the vector looks. It holds the fills and strokes.
  • One or more paths inside the shape decide its geometry.
The shape paints every path inside it, so all of its paths share the same fills and strokes. To give part of a drawing a different color, put that part in its own shape.

Shapes

When you draw with a Shape tool, the Pen Tool, or the Pencil, Rive creates a shape with a path inside it. In the Hierarchy you see the shape, and its paths are nested under it. Select the shape to edit its fills and strokes in the Inspector. Moving, rotating, or scaling the shape transforms all of its paths together. A character's helmet shape selected, with its fill in the Fills and Strokes section of the Inspector

Paths

Expand a shape in the Hierarchy to see its paths. Select a path to move, rotate, or scale it on its own, without changing the rest of the shape. A star shape expanded in the Hierarchy, with the path inside it selected on the stage A path is one of two kinds:
  • Procedural paths come from the Shape tools, such as rectangles, ellipses, polygons, and stars. They keep properties like size, corner radius, and number of points, which you can change and animate in the Inspector.
  • Custom paths are drawn vertex by vertex with the Pen Tool, or freehand with the Pencil. You shape them by editing their vertices.
A star path selected, with its size, origin, radius, and points in the Star Path section of the Inspector To edit the vertices of a procedural path, it has to become a custom path. When you start editing its vertices, Rive asks you to convert it. Converting removes its procedural properties, along with any keys on them.

Combining paths in a shape

A shape can hold any number of paths. To add a path to a shape, drag it onto the shape in the Hierarchy. The path takes on that shape’s fills and strokes. Dragging a rectangle's path into a star shape, so both paths share the star's fill With a path selected, the Pen Tool also adds new paths to that path’s shape instead of creating a new one. Where a shape’s paths overlap, its fill rule decides which areas are filled, so you can use one path to cut a hole in another.

Moving between shapes and paths

  • Press Enter with a shape selected to select its first path.
  • Press Esc with a path selected to select its shape.
Pressing Enter with a path selected edits its vertices.