# Spotlight and callouts

Measured attention overlays follow targets through stage scaling.

Source: https://legend.so/slides/effects/spotlight/

Legend Slides: Preview.

[← All effects](https://legend.so/slides/effects/)![Spotlight and callouts in Legend Slides](https://legend.so/slides/effects/previews/spotlight/14de924545f82e168573391172156829080e11ffc17d3aa08c307f5578e3b2cc.png)

Still captured in Legend Slides for macOS (development build).

[Install in Slides](legend-slides://effects/install?pack=presenting&version=1.0.0)[Open example in Slides](legend-slides://effects/example?effect=spotlight)[Download example](https://legend.so/slides/effects/examples/spotlight/6d9cace04eb23bdef91a9b65800b4fe421858bd5084d3e96d7f57e401d5a1915.mdx)

Requires a Legend Slides build with effect installation support. Installs the presenting pack (1.0.0, 22 KB source) and its dependencies. macOS host capabilities: reanimated, skia. Installed decks work offline.

## Use it in a deck

```mdx
---
title: Spotlight and callouts
---

import { View, Text } from "react-native";
import { AttentionStage } from "slides:presenting/Attention";
import { AttentionTarget, Spotlight, Callout } from "slides:presenting/Attention";


# Spotlight and callouts

<View style={{ width: 1696, height: 650 }}>
<Steps count={3}>{step => <AttentionStage style={{width: 1696,height: 580}}><AttentionTarget id="idea" style={{position: "absolute",left: 150,top: 160}}><Text style={{color: "white",fontSize: 90}}>The idea</Text></AttentionTarget><AttentionTarget id="detail" style={{position: "absolute",left: 950,top: 300}}><Text style={{color: "white",fontSize: 90}}>The detail</Text></AttentionTarget><Spotlight target={step ? "detail" : "idea"} /><Callout target={step ? "detail" : "idea"}>Look here</Callout></AttentionStage>}</Steps>
</View>
```

## Configure

**target**

Use an AttentionTarget ID.

**padding / darkness**

Control the spotlight cutout and dimming.

Only imported effects enter the compiled deck. [Installation and versioning →](https://legend.so/slides/effects/installation/)

[View Markdown](https://legend.so/slides/effects/spotlight.md)[Report a documentation correction](https://github.com/LegendApp/legend-docs/issues/new?title=Docs%3A+Spotlight+and+callouts&body=Page%3A+https%3A%2F%2Flegend.so%2Fslides%2Feffects%2Fspotlight%0A%0AWhat+is+incorrect+or+missing%3F%0A%0AExpected+behavior+or+supporting+source%3A%0A)
