> For the complete documentation index, see [llms.txt](https://docs.world-creator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.world-creator.com/reference/terrain/simulation-layers/fluid.md).

# Fluid

## Overview

The Fluid Simulation Layer executes a fluid simulation on your terrain, which can be everything from really fast flowing water to more viscose substances like lava.

## Video Guide

{% embed url="<https://vimeo.com/1029720023>" %}
World Creator Guide
{% endembed %}

## Parameters

<table><thead><tr><th width="179.699951171875">Properties</th><th>Description</th></tr></thead><tbody><tr><td><strong>Viscosity</strong></td><td>The viscosity of the fluid controls how fast and fluid the matter reacts. This allows you to change the appearance of your fluid from water to a thicker substance like lava.</td></tr><tr><td><strong>Speed</strong></td><td>The speed at which the liquid travels over the terrain.</td></tr><tr><td><strong>Wind Direction</strong></td><td>Controls the direction of the additional wind force.</td></tr><tr><td><strong>Wind Direction</strong></td><td>Controls the direction of the additional wind force.</td></tr><tr><td><strong>Wind Strength</strong></td><td>Adds an additional wind force to the velocity of the simulated matter.</td></tr><tr><td><strong>Wind Level Multiplier</strong></td><td>Links the wind strength to the current level step. This is helpful because the distance between pixels increases with each level step and the effect needs to be scaled with that in mind.</td></tr><tr><td><strong>Wind Randomness</strong></td><td>Randomizes the wind direction, allowing for a more natural result.</td></tr><tr><td><strong>Spawn Level</strong></td><td>In which level the sediment gets added to the terrain. </td></tr><tr><td><strong>Spawn Amount</strong></td><td>The amount of sediment added to the terrain.</td></tr></tbody></table>

## Results

<div><figure><img src="/files/7DxJhDKvjYGOseGmF9wv" alt=""><figcaption><p>water over the whole terrain</p></figcaption></figure> <figure><img src="/files/0CMbmEmXToTAPHCNHlU6" alt=""><figcaption><p>masked spawn</p></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.world-creator.com/reference/terrain/simulation-layers/fluid.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
