# Crowds

To render big crowds of people Depence has a so called MassCrowd Object, which procedurally places random instances of animated characters.&#x20;

## Add new Mass-Crowd

In the library window, navigate to `Models > Peoples > Crowd` then select and drag a Crowd-Object into the Scene.&#x20;

![](/files/f6wWMx1DPzTfEYnqA4sG)

You can select the crowd over this gizmo icon.&#x20;

{% hint style="info" %}
Note that this object is optimized to render thousands of instances, but having multiple MassCrowd objects in one scene can increase memory requirements and loading time a lot! Instead of using several objects, try to use empty - NoGo Areas.&#x20;
{% endhint %}

## Empty - NoGo Areas

The Crowd instances are distributed depending on the current settings. The empty areas can be used to keep specific regions empty. This can be around stages or other scene elements.&#x20;

### Create Empty regions

The crowd-object can use the axis-aligned bounding box of any object to cull out the instances.&#x20;

#### Step by step

1. In the `3D-Hierachy window > Add > 3D-Object > Cube`
2. Place and size the cube to define the empty area\
   \&#xNAN;*(note: the cube shall be in clash with the floor to be detected as NoGo area)*\
   ![](/files/a1HYjMejMWObg7BhsUq7)
3. Select the Crowd Object and in its Settings click on "Empty Areas ..."
4. Drag the Cube object from the 3D-Hierarchy in the Dialog box\
   ![](/files/1LxJM5RjfKDX1Wa2geun)
5. Select the Cube again and set the Visible property to false\
   ![](/files/wuD3Z8EK2xibAE6RWfJZ)
6. After updating the Cube's transformation, click on Crowd settings "Refresh" button to refresh the empty area\
   ![](/files/L9RyNJUPxSKDgOrZtu7M)

### Focus Object

The focus object allows you to define another object in the scene as a focus point, where all crowd instances will look at. The focus object can be any object type, f.e. a Generic > Group Object

<figure><img src="/files/MTTpfWDSIgfaO0A1v7hx" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
NOTE: The crowd focus doesn't update in realtime when the focus object is moved by keyframes.
{% endhint %}


---

# Agent Instructions: 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://help.depence.com/depence-construction/crowds.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.
