# Add one-shot effects

> Use flashes, blinks, cut-ins, flipbooks and timed screen effects as effects that remove themselves once they've played

Effects that remove themselves once they've played, such as a white flash at the moment of impact, a blink as a character wakes up, or a cut-in that shows a picture of a clue, work just by placing their parts. You don't need parts to remove them. Each one waits until it finishes before the story goes on, and players can click to jump to the end.

## Flash

1. Select the line just before where the effect should go.
2. Type "flash" in the search box at the top of the parts panel, and double-click "Flash" in the results.
3. In `type` in the panel on the right, choose the kind of frame (`white`, `black`, `color` for a color you choose, or `invert` to invert the screen colors). Set the number of flashes with `count`.

![The Flash part with invert for type and 2 for count.](/shots/en/h-oneshot-effects-flash.webp)

![A frame with the screen colors inverted.](/shots/en/h-oneshot-effects-flash-game.webp)

## Blink

With "Blink," eyelids close from the top and bottom, stay closed for a moment, then open. Use it for scenes where a character wakes up or faints. Set the number of blinks with `count`, and the time to close, stay closed and open with `close`, `hold` and `open`.

![The screen with eyelids closing from the top and bottom.](/shots/en/h-oneshot-effects-blink-game.webp)

## Cut-in

"Cut-in" slides in a framed image, holds it for a while, then pulls it out. Use it to show a clue, an item or a close-up of a face.

1. Type "cut-in" in the search box, and double-click the part in the results.
2. In `image` in the panel on the right, choose the image to slide in (put the image in "Images" in the assets beforehand).
3. Set the direction it slides in from with `from`, how long it stays with `time`, and its tilt with `rotate`.

![The Cut-in part with photo.png for image, left for from and -3 for rotate.](/shots/en/h-oneshot-effects-cutin.webp)

![A photo with a white frame slides into the center of the screen at a slight tilt.](/shots/en/h-oneshot-effects-cutin-game.webp)

## Flipbook

"Flipbook" plays numbered images such as `slash_01.png` and `slash_02.png` in order. Use it for slashes, explosions or streaks of light. In `image`, write the name with `{nn}` (2 digits) or `{n}` in place of the number, and in `frames`, the number of frames. To give each frame its own time, list milliseconds separated by commas in `durations`.

## Apply a screen effect for a set time

The "Effect" part (video distortion, color fringing, ripples and so on) normally lasts until "Stop effect." Enter a time in `time`, and it's applied for that long and then removes itself.

![The Effect part with glitch for type and 800 for time.](/shots/en/h-oneshot-effects-effect.webp)

## Players who reduce flashing lights

For players who set "Flashing lights" to "Reduced" in Config, a flash doesn't blink but lays a faint veil over the screen once.

## In code

```
@flash invert count=2 time=50ms
@blink count=2
@cutin photo.png from=left time=1.5s rotate=-3
@flipbook effects/slash_{nn}.png frames=8 blend=screen
@effect glitch time=800ms
```

For details, see [@flash](/en/reference/flash/), [@blink](/en/reference/blink/), [@cutin](/en/reference/cutin/), [@flipbook](/en/reference/flipbook/) and [@effect](/en/reference/effect/).
