Attachments
Mesh
A mesh is an attachment made of triangles. Like a region it shows part of an image and hangs on a slot, but its shape is not a fixed rectangle: you place the vertices yourself, so the outline can follow the character, and each vertex can be moved to bend the picture. This is what makes cloth, hair, a tail or a facial expression possible without drawing every pose. This article shows how to turn an image into a mesh, how to edit its vertices in Edit Mesh mode, how to control the triangles and the outline, how Generate and Trace fill a mesh automatically, and how a mesh is animated.

Creating a mesh#
A mesh starts as an image. The Add… button in the Attachments section of a slot offers Add mesh…, which asks for an image from the project (see Images) and creates a mesh with four vertices, one at each corner of the picture. A region that is already in the scene is converted with Convert region to mesh, in the same menu or on the Convert Region to Mesh button of the Mesh panel (see Region). The result looks exactly like the region it replaces, and one undo returns the region.
Both ways produce the simplest possible mesh: a rectangle of two triangles. The rest of the work is adding vertices where the picture needs to bend and moving the outline vertices onto the edge of the artwork. The Mesh panel is a tab next to Properties and is opened from the Panels menu. It shows the name of the selected mesh and its statistics, such as 33 vertices · 60 triangles · hull 4. Select a slot with a mesh or the mesh's own row in the Tree and the panel is ready.
Edit Mesh mode#
Press Edit Mesh in the panel, or press M with a mesh selected, or double-click the mesh in the viewport. The viewport locks everything except the vertices of this mesh, shows the outline in orange and the vertices as dots, and puts a badge at the top that reads Editing mesh with the slot name, the number of vertices and triangles, and a Done button. Esc, M or Done leaves the mode, and so does selecting anything else.
In the default Modify tool a click selects a vertex and dragging moves it. Dragging on empty space draws a rubber band that selects every vertex inside it. Alt-click on empty space adds a vertex there; Alt-drag from an existing vertex adds a new one joined to it. A double-click on a vertex deletes it. With the Rotate or Scale tool from the palette (see Tools) a drag turns or scales the whole selection around its centre; Shift snaps rotation to 15 degrees and Alt keeps scaling uniform. Shift-click on an edge selects the whole edge loop, along the outline when the edge lies on it, and Ctrl/Cmd added to that click keeps the earlier selection.
The three tiles under Tools in the panel make these gestures plain clicks. Modify is the default. With Create a click adds a vertex, and a click on an outline edge puts the new vertex on that edge. With Delete a click removes the vertex or the support edge under the cursor. Holding Alt with Cmd (Ctrl on Windows) deletes under any tool. Every add, move or delete is an undo step.
Triangles and the outline#
Ligamen builds the triangles itself every time the vertices change, so you place points and the triangulation follows. Sometimes it picks the wrong diagonal. Select exactly two vertices and press Toggle Edge to force an edge between them; press it again on the same pair to drop the forced edge. Forced edges, also called support edges, are drawn in turquoise.
The first vertices of the list make the outline, or hull. The Hull field says how many: with 4 the first four vertices are the outline, and triangles outside it are not drawn. The outline is what trims the transparent parts of an image, so a mesh around a character should follow the silhouette closely, while the vertices inside decide how the picture can bend. Vertices added in the middle of the picture are inside the hull and never change it. To move the border, drag the outline vertices themselves.
Soft Selection#
Soft Selection is a closed section below Tools, and the header shows its current radius. When Size is above 0, dragging a selected vertex also pulls the unselected vertices within that radius, less the farther they are, which bends an area smoothly instead of point by point. Size is in screen pixels and a circle follows the cursor in Edit Mesh mode. Feather sets how much of the radius keeps full strength before fading out: 0 is a hard edge and 1 fades across the whole radius. Hull vertices is off by default so that a soft drag never nudges the outline; turn it on to let the outline move like any interior vertex. With Size at 0 a drag moves only the selected vertices.
Generate and Trace#
Placing dozens of vertices by hand is slow, so the Generate / Trace section does the first pass. Trace follows the transparent edge of the image and replaces the current shape with an outline hugging the artwork. Generate then fills the inside of the hull with an evenly spaced grid of vertices and triangulates again. Run Trace first, then Generate, and finish by hand.
Detail is a slider from 0, a coarse mesh, to 1, a fine one. The drop-down above it holds the presets from Very Low to High (among them Low and Medium), which are built in and read-only. Change any value and the preset is marked as modified: Update overwrites a preset of your own, and the floppy icon saves the values under a new name (Save as…) for all projects. The menu next to it renames or deletes your presets. Advanced opens the fine controls: Threshold is the alpha value above which a pixel counts as part of the shape; Outset offset pushes the outline outwards so that soft edges are kept; Vertex step, Corner detail and Straight thinning decide how many outline vertices are used; and Spacing is the grid step of Generate.
Target in Advanced chooses what Trace and Reset work on: Current, the meshes Selected in Tree, or All project attachments. The buttons then read Trace Selected (3) or Reset All (12). Trace replaces the shape and the weights of every mesh in the target. Reset Mesh returns a mesh to the four corners of its image and drops its weights and its deform keys, so use it with care.
Display options#
The chips at the bottom of the panel change only how the mesh is shown. Triangles draws the triangulation. Wireframe draws the triangle edges as lines. Dim fades the other attachments, and Isolate hides them altogether, which needs Deformed. Deformed is the one that matters for editing: with it on, dragging reshapes the mesh in the scene; with it off, you work on the flat image, and a drag moves the vertex's position on the texture (its UV) instead of the shape. Keep it on unless you are fixing how the picture is mapped.
Animating a mesh#
In Animate mode the vertices of a mesh can be keyed like any other property. Move a vertex with Auto Key on (see Keys) and Ligamen records the shape as a deform key at the playhead. The Dopesheet shows a Deform sub-row under the slot, and the shape between keys is interpolated (see Animating).
A mesh that must follow several bones is weighted to them, which is covered in the next article, Weights.