# Candy Wipe: Transition element for AI agents

> Signature transition. A parade of big candy shapes (and a pal) rolls across the frame, and a sheet of the ground follows right behind them, sweeping the old scene away. Full cover runs from 0.5 s to 0.62 s, then the sheet is removed under the next scene's identical empty ground. Transparent; mount it on a track above the cut, starting 0.56 s before it.

Canonical page: https://agentframes.ai/elements/gumdrop/candy-wipe/
Markdown: https://agentframes.ai/elements/gumdrop/candy-wipe.md

## Overview

- Name: Candy Wipe (`candyWipe`), an element: one HyperFrames block per size
- Part of: the [Gumdrop](https://agentframes.ai/packs/gumdrop.md) pack (32 of 50). Available only through the All-access subscription.
- Category: Transition
- Purpose: Signature transition. A parade of big candy shapes (and a pal) rolls across the frame, and a sheet of the ground follows right behind them, sweeping the old scene away. Full cover runs from 0.5 s to 0.62 s, then the sheet is removed under the next scene's identical empty ground. Transparent; mount it on a track above the cut, starting 0.56 s before it.
- Pack: [Gumdrop](https://agentframes.ai/packs/gumdrop.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Night (candy on near-black) (`night`), Cream (candy on warm paper) (`cream`), Grape (candy on deep violet) (`grape`); avoid none
- Typical duration: 0.7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/gumdrop/candy-wipe.mp4
- Poster: https://agentframes.ai/media/gumdrop/candy-wipe.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Gumdrop pack. Add a `candyWipe` beat to plan.json on a `night` canvas with slot `direction` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `direction` | enum | direction | {"type":"string","enum":["left","right","up","down"]} | left |

## What your agent can change

**Candy Wipe (signature transition, overlay)**. Native 1920×1080, 0.7s at 30fps. Transparent overlay: mount it on a track above a host scene.

Signature transition. A parade of big candy shapes (and a pal) rolls across the frame, and a sheet of the ground follows right behind them, sweeping the old scene away. Full cover runs from 0.5 s to 0.62 s, then the sheet is removed under the next scene's identical empty ground. Transparent; mount it on a track above the cut, starting 0.56 s before it.

**Motion.** The edge travels across the frame (ease in-out) carrying a column of candy shapes that roll as they go, each a little ahead of or behind the edge; the ground sheet trails them; the pal rides the middle, looking where it is going.
**Why it moves.** continuity: the old scene is swept away by the style's own candy, so chapters change without a hard cut.

### Mount

Copy every manifest file into your project (plus `af-gumdrop-runtime`). Mount with a unique host id, `data-composition-id="af-gumdrop-candy-wipe-16x9"`,
`data-composition-src="compositions/af-gumdrop-candy-wipe-16x9.html"`, `data-duration="0.7"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `direction`: {"type":"string","enum":["left","right","up","down"]}

- `direction` is the way the parade travels. Start the wipe 0.56 s before the cut and set the outgoing scene's `exit` to `cut` so the sheet sweeps up its content.

Style: `colourway`, `accent`.

### Timing

0.7s. Full cover from 0.5 s to 0.62 s; mount it 0.56 s before the cut.

### Example

```json
{
  "direction": "left"
}
```

## FAQ

### What can my AI agent change in Candy Wipe?

Your agent fills the `direction` slot through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Gumdrop look.

### Which aspect ratios does Candy Wipe support?

Candy Wipe is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 0.7s.

### How do I get Candy Wipe?

Candy Wipe is included in the Gumdrop pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Gumdrop

- [Scallop Iris](https://agentframes.ai/elements/gumdrop/scallop-iris.md): Transition. Three candy scallops grow out of one point in quick succession and the ground grows inside them, covering the frame; a pal pops at the centre as it starts. Transparent; mount it above the cut.
- [Bubble Cover](https://agentframes.ai/elements/gumdrop/bubble-cover.md): Transition. Candy bubbles pop up all over the frame at slightly different moments and each one fills with the ground from inside, until the frame is empty ground. Transparent; mount it above the cut.
- [Slab Shutter](https://agentframes.ai/elements/gumdrop/slab-shutter.md): Transition. Rounded candy slabs drop like blinds one after another, the ground drops in behind them, and the slabs carry on down out of frame, leaving empty ground. Transparent; mount it above the cut.
- [Opening Hook: Drop-In Title + Pal](https://agentframes.ai/elements/gumdrop/opening-hook.md): Opens the explainer: a candy tag slaps on, the title drops in letter by letter and lands with a squash, candy bits burst out from behind it, and a googly-eyed pal pops up beside the last word, looks at it, then looks at you. A kicker sets up the promise.

## Community

Coming soon.
