# Threshold: Crossing the Line: Section title element for AI agents

> The starting line: a line draws, the orb waits dim behind it with the "before" label, hesitates, then crosses and brightens on the far side with the "after" label.

Canonical page: https://agentframes.ai/elements/afterglow/threshold/
Markdown: https://agentframes.ai/elements/afterglow/threshold.md

## Overview

- Name: Threshold: Crossing the Line (`threshold`), an element: one HyperFrames block per size
- Part of: the [Afterglow](https://agentframes.ai/packs/afterglow.md) pack (40 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: The starting line: a line draws, the orb waits dim behind it with the "before" label, hesitates, then crosses and brightens on the far side with the "after" label.
- Pack: [Afterglow](https://agentframes.ai/packs/afterglow.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 none; avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/afterglow/threshold.mp4
- Poster: https://agentframes.ai/media/afterglow/threshold.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Afterglow pack. Add a `threshold` beat to plan.json on a `k` canvas with slots `title`, `label`, `before` and `after` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":44} | The only line that matters |
| `label` | string | label | {"type":"string","minLength":1,"maxLength":18} | Start line |
| `before` | string | before | {"type":"string","minLength":1,"maxLength":24} | Thinking about it |
| `after` | string | after | {"type":"string","minLength":1,"maxLength":24} | Doing it |

## What your agent can change

**Threshold: Crossing the Line**. Native 1920×1080, 7s at 30fps.

The starting line: a line draws, the orb waits dim behind it with the "before" label, hesitates, then crosses and brightens on the far side with the "after" label.

**Motion.** Line draws; orb fades in dim; a small hesitation nudge; it crosses (ease in-out) and brightens and grows; labels rise.
**Why it moves.** change + character: the hardest part, crossing, is the move itself.

### Mount

Copy every manifest file into your project (plus `af-afterglow-runtime`). Mount with a unique host id, `data-composition-id="af-afterglow-threshold-16x9"`,
`data-composition-src="compositions/af-afterglow-threshold-16x9.html"`, `data-duration="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).

- `title`: {"type":"string","minLength":1,"maxLength":44}
- `label`: {"type":"string","minLength":1,"maxLength":18}
- `before` (required): {"type":"string","minLength":1,"maxLength":24}
- `after` (required): {"type":"string","minLength":1,"maxLength":24}


Style: `colourway` (rose, ultraviolet, ember), `accent` (optional hex), `footer`, `enter` / `exit` (glow or cut).

### Timing

7s. Everything has landed by 4.2s (60%), then the scene holds for reading (bubbles slow to a residual drift, the glow breathes,
text stays still) and glows out over the last 0.55 s (elements lift away, the orb fills the frame).

### Example

```json
{
  "title": "The only line that matters",
  "label": "Start line",
  "before": "Thinking about it",
  "after": "Doing it"
}
```

## FAQ

### What can my AI agent change in Threshold: Crossing the Line?

Your agent fills the `title`, `label`, `before` and `after` slots 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 Afterglow look.

### Which aspect ratios does Threshold: Crossing the Line support?

Threshold: Crossing the Line is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Threshold: Crossing the Line?

Threshold: Crossing the Line is included in the Afterglow 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 Afterglow

- [Opening Hook: Rising Orb + Word Build](https://agentframes.ai/elements/afterglow/opening-hook.md): Opens the explainer: the orb rises from below, a small label lands and the question builds one word at a time, the line gliding to stay centred, then a kicker sets up the promise.
- [Definition: The Orb Full Stop](https://agentframes.ai/elements/afterglow/definition.md): Defines a term. The term builds in heavy type, the orb drops onto the baseline as its full stop, a rule draws and the meaning rises line by line.
- [Distil: Many Words, One Idea (signature)](https://agentframes.ai/elements/afterglow/distil.md): Signature device. A long phrase builds, holds to be read, then every word collapses into a bubble; the bubbles scatter and one ignites into the orb with the single word it all boils down to.
- [Chapter: Number + Drifting Orb](https://agentframes.ai/elements/afterglow/chapter.md): A section break: the chapter number builds huge, the orb drifts in from the edge to sit beside it like a full stop, a small label rises and the chapter title builds under it.

## Community

Coming soon.
