---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://excalidraw.heycactus.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
lang: en
---

# Arrows

Arrows join shapes on the canvas. Drag an end onto a shape and it attaches to that shape’s outline, and the arrow follows when the shape moves. Elbow arrows route around shapes at right angles.

> Verified against the product on 2026-11-23

## Draw an arrow

Press **A** or **5**, or pick the arrow tool, then drag on the canvas. To draw a line with several points, click to add each point, then press **Enter** or **Escape** to finish.

## Attach an arrow to a shape

Drag an end of an arrow onto a shape and it attaches. If the end is inside the shape it attaches inside it, and if it is just outside it attaches to the outline. Arrows attach to rectangles, sticky notes, diamonds, ellipses, images, iframes, embeddables, frames, magic frames, and text that is not inside a container. Text inside a shape is covered on [Text](https://excalidraw.heycactus.ai/7vttc4-text).

The attached end stops a gap of 5 px plus half the shape’s stroke width from the shape.

When the shape moves, the arrows attached to it move with it and keep their attachment. Drag the end away from every shape and it detaches.

### Keep an end free with Ctrl or Cmd

Hold **Ctrl** or **Cmd** while you drag an end and it does not attach. The key flips the **Arrow binding** setting for as long as you hold it, and releasing it restores the setting.

### Turn off arrow binding

**Arrow binding** turns attaching off for every arrow, and the command is checked while attaching is on. With it off, dragging an end detaches that end.

### Attach inside with Alt

Hold **Alt** while you drag an end onto a shape and it attaches inside the shape, at the point under the pointer. The hint while you drag reads “Hold Ctrl to disable binding, or Alt to bind at a fixed point.”

## Change the arrow type

The **Arrow type** setting has three choices: **Sharp arrow**, **Curved arrow**, and **Elbow arrow**.

While the arrow tool is on, press **A** again to go to the next type: sharp, then curved, then elbow, then sharp.

Changing an arrow to an elbow arrow sets its angle to 0, keeps only its two ends, and clears any segments you fixed.

## Elbow arrows

### How an elbow arrow routes

An elbow arrow leaves and enters shapes at right angles, and keeps 40 px clear of the shapes it joins where the route allows. If one or two corners do not fit, the route is found on a grid, without short segments. Its corners are rounded with a 16 px radius.

An elbow arrow cannot be rotated. The point editor does not open for an elbow arrow.

### Moving an attached elbow arrow

A bound elbow arrow cannot be dragged as a whole, but each of its ends can be dragged. Dragging an end onto a shape attaches it to that shape’s outline, and dragging it off detaches it.

### Fix a segment in place

Drag the midpoint of a segment and that segment moves where you drop it, and its neighbouring segments follow.

## If an arrow won’t attach

If an end will not attach, check three things: **Ctrl** or **Cmd** is not held, **Arrow binding** is on, and the end lands on a shape from the list above, close to its outline.

## Related pages

- [Shape properties](https://excalidraw.heycactus.ai/fyx5xb-shape-properties) sets an arrow’s stroke and arrowheads.
- [Text](https://excalidraw.heycactus.ai/7vttc4-text) covers text labels on arrows and text inside shapes.
- [Keyboard shortcuts](https://excalidraw.heycactus.ai/jhn9a5-keyboard-shortcuts) lists every key combination.
- [Groups and frames](https://excalidraw.heycactus.ai/4d5cbg-groups-and-frames) covers frames, which arrows can attach to.
