# Glass strike

Strike a glass panel, shatter it and optionally resolve to a check.

Source: https://legend.so/slides/effects/glass-strike/

Legend Slides: Preview.

[All effects](https://legend.so/slides/effects/)

[Glass strike preview](https://legend.so/slides/effects/previews/glass-strike/c264baedd4e6055dc64c0bf054ebfd7d0694168232b62c3de0d23f0bed79d0ec.mp4)

Recorded in Legend Slides for macOS (development build), materials 1.0.1.

[Install in Slides](legend-slides://effects/install?pack=materials&version=1.0.2) [Open example](legend-slides://effects/example?effect=glass-strike) [Download example](https://legend.so/slides/effects/examples/glass-strike/10451e120460935a335878e7ece604339f6d079082aa96df711787d269ed74d5.mdx)

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

## Use it in a deck

glass-strike.mdx

```mdx
---
title: Glass strike
---

import { View, Text } from "react-native";
import { GlassStrike } from "slides:materials/GlassStrike";


# Glass strike

<View style={{ width: 1696, height: 650 }}>
<Steps count={2}>{step => <GlassStrike width={1696} height={650} centerX={848} panelHalfHeight={150} crossed={step > 0} resolveToCheck />}</Steps>
</View>
```

## Configure

**crossed**

Trigger the impact on a reveal step.

**resolveToCheck**

Resolve the X into a check.

**geometry**

Customize the material and stroke geometry.

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

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