# Pattern

Pattern is an auxiliary component for creating circular matrix patterns. This can be used for example when you need to place many realvirtual.io components in a certain way (e.g. you need many fixers on a wheel with vacuum grippers). The pattern game objects are created based on a template and some geometric information about the spacing of the pattern components.

The pattern can be created in the editor mode or when starting the simulation.

<figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-99717c24cf2ba27df0d97021cede8c3781773f76%2Fpattern.png?alt=media" alt=""><figcaption></figcaption></figure>

## Properties <a href="#properties" id="properties"></a>

### Circular pattern

Creates a circular pattern. The center of rotation is always the center of rotation of the transformation to which the pattern component is attached.

#### Detla angle

The angle between the individual circular pattern components.

#### Rotation vector

The direction vector of the rotation.

#### Start angle

The start angle of the pattern.

#### Number

The number of the created pattern components.

### Matrix Pattern

Creates a matrix pattern.

#### Number X,Y,Z

The number of components of the pattern in the X, Y and Z directions.

#### Spacing X,Y,Z

The spacing of the pattern components in the x, y, and z directions.

### Settings

#### Template

If no template is defined, the component to which the pattern component is attached will be copied. It is recommended to define a template (referenced by this property) and disable the template itself (the pattern components are automatically enabled when they are created).

#### Parent

If no parent is defined, the pattern components are automatically created below the game object to which the pattern component is attached.

#### Create at startup

If true, the pattern components will be created when the simulation is started.

#### Delete pattern

Manually delete the pattern in editor mode.

#### Generate pattern

Generates the pattern in editor mode.

\
© 2025 realvirtual GmbH [https://realvirtual.io](https://realvirtual.io/) - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.


---

# 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://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/pattern.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.
