> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/monobehaviours/water-body.md).

# Water Body

## Properties

| Name                           | Description                                                                                                                                                                                        |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| My Collider                    | A link to a Collider.                                                                                                                                                                              |
| Use Fog                        | If true, fog will be enabled when the camera is within the bounds of the collider to give a realistic under water effect by limiting the distance that the player can see.                         |
| Fog Color                      | The color of the fog to be used when the camera is in the water.                                                                                                                                   |
| Fog Density                    | The density of the fog.  More dense fog means the distance a player can see is smaller.                                                                                                            |
| Enter Water Audio Profile Name | An [Audio Profile](/scriptable-objects/audio-profile.md) containing a link to an audio clip to play for a splash sound when entering the water.                                                    |
| Swim Loop Audio Profile Name   | An [Audio Profile](/scriptable-objects/audio-profile.md) containing a link to an audio clip to loop when the player is swimming on the surface of the water.                                       |
| Swim Hits Audio Profile Name   | An [Audio Profile](/scriptable-objects/audio-profile.md) containing a link to audio clip to play whenever the players hands hit the water when the player is swimming on the surface of the water. |

## Dependencies

* A collider is required on the same GameObject as the Water Body so that players can be detected when they enter the water.


---

# 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:

```
GET https://docs.anyrpg.org/monobehaviours/water-body.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
