# Make snow or rain fall

> Make snow, rain or cherry blossoms fall with the "Rain, snow" part, and stop them

With the "Rain, snow" part, you can make snow, rain, cherry blossom petals and the like fall across the screen. Once it starts, it keeps falling until you place the "Stop particles" part. It doesn't stop when the page moves on.

The examples on this page use the English sample story, "Waiting for Stars" (choose "A sample story" and English in New Project, or run `lim new --lang en`; the characters are Akari and Sou).

## Make snow fall

1. Select the text block just before where it should start falling (here, "Night had fallen, and the hill had grown bitterly cold.").
2. Type "particles" in the search box at the top of the parts panel, and double-click "Rain, snow" in the results.
3. In the parameter panel on the right, set `preset` to "snow."

![The Rain, snow part. Set preset to snow.](/shots/en/h-particles-snow.webp)

4. For a crosswind, enter a value in `wind` (positive values blow to the right). Here, enter `30`.
5. To have it fall in front of the sprites too, set `layer` to "front."

![Enter 30 in wind and set layer to front.](/shots/en/h-particles-layer.webp)

From the next line of dialogue, snow falls while drifting to the right.

![Snow falling.](/shots/en/h-particles-snow-game.webp)

Set `preset` to "rain," and it rains instead.

![Rain falling.](/shots/en/h-particles-rain-game.webp)

| preset | What falls |
|---|---|
| rain | Rain |
| snow | Snow |
| sakura | Cherry blossom petals |
| sparkle | Sparkles |
| dust | Dust |

| Parameter | What it sets |
|---|---|
| count | Number of particles (each kind's default if left out) |
| speed | Speed factor (1 by default) |
| wind | Crosswind (px per second; positive values blow to the right) |
| size | Size factor (1 by default) |
| color | Color |
| opacity | Opacity (0 to 100) |
| layer | Where to place it (back is between the background and the sprites, front is in front of the sprites, fx is over the whole screen; fx by default) |
| image | Image to make fall (chosen from "Images" in the assets; each kind's own shape if left out) |
| time | Fade-in time when it starts falling (500ms by default) |

## Stop

1. Select the block just before where it should stop (here, "...It's snowing.").
2. With "particles" still in the search box, double-click "Stop particles."
3. Enter the time it takes to disappear in `time`. Here, enter `2000` (2 seconds).

![The Stop particles part. Enter 2000 in time.](/shots/en/h-particles-off.webp)

When the next text appears, the snow fades away over 2 seconds.

![The screen after the snow has stopped.](/shots/en/h-particles-off-game.webp)

If you don't write `name`, everything that's falling stops. To make snow and rain fall at the same time and stop only one of them, give a name in `name` of the part that makes it fall, and enter the same name in `name` of the part that stops it.

## In code

```
@bg hill_night.webp
@chara Sou normal
Night had fallen, and the hill had grown bitterly cold.
@particles snow wind=30 layer=front
Sou "...It's snowing."
@particles-off time=2s
The snow kept falling for a while, then finally stopped.
```

For details, see [@particles](/en/reference/particles/) and [@particles-off](/en/reference/particles-off/).
