Effects
LEGEND APPSPreview
Glass strike
Strike a glass panel, shatter it and optionally resolve to a check.
← All effects
Video recorded in Legend Slides for macOS (development build).
Requires a Legend Slides build with effect installation support. Installs the materials pack (1.0.0, 45 KB source) and its dependencies. macOS host capabilities: reanimated, skia, webgpu. Installed decks work offline.
Use it in a deck
---
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 →