# Templates

## What Are VoxEdit Templates?

{% tabs %}
{% tab title="About" %}

### About Templates

Templates are a VXR project developed by The Sandbox Team to offer users resources to create high-quality assets compatible with every basic and advanced behaviour in the game engine and shape their ideas faster.&#x20;

Templates are edited using VoxEdit's seamlessly integrated [**Animator**](/en/creator/voxedit/docs/animator.md) and [**Modeler**](/en/creator/voxedit/docs/modeler.md) modules.

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><img src="/files/2eBqjk2vueSJzfN5sKiP" alt="" data-size="original"></td></tr><tr><td><p><strong>Example:</strong></p><p></p><p><strong>LEFT</strong></p><p>Medium Human template</p><p></p><p><strong>RIGHT</strong></p><p>NPC (non-player character) asset made using the template<br><br>The possibilities for customising templates is extremely vast!</p></td></tr><tr><td><img src="/files/8qtcvQC3hWWoNq0pnZ4k" alt="" data-size="original"></td></tr></tbody></table>
{% endtab %}

{% tab title="Benefits for All Users" %}

### Benefits of Using Templates

The Animator's tools are limited when editing templates to ensure that even an absolute beginner can make a complex, fully functional asset in a short time.&#x20;

Assets made from templates include many skillfully designed animations made by The Sandbox Team and compatibility to receive future animation updates.

#### Templates Help All Creators

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><p><strong>Beginner Skills</strong></p><ul><li>Create animated assets only using Modeler skills - no need to rig or animate!</li><li>Get more familiar with the Animator module</li></ul></td></tr><tr><td><p><strong>Intermediate Skills</strong></p><ul><li>Learn by example how assets are professionally rigged and animated</li><li>Practice rigging and animation skills on partially locked Equipment templates</li></ul></td></tr><tr><td><p><strong>Advanced Skills</strong></p><ul><li>Create high quality assets fast with templates</li><li>"Unlock" templates to reuse all or part of their rigs and animations when making assets from scratch</li></ul></td></tr></tbody></table>

{% hint style="success" %}
Maintain compatibility by only modifying the template's VXMs by shape, size, and colour.
{% endhint %}

{% hint style="warning" %}
**ADVANCED: UNLOCKING TEMPLATES**

Unlocking a template allows full editing access, including nodes and animations, but the resulting asset will no longer receive animation updates from The Sandbox and must follow guidelines to ensure proper functionality.
{% endhint %}
{% endtab %}

{% tab title="Access Templates" %}

## Access Templates

In VoxEdit's Home screen, select Templates in the left menu to begin a new project.&#x20;

Choose a template in the list by selecting a thumbnail. Options include equipment, humans of different sizes, birds, fish, dragons, dinosaurs, and more!

A popup window will open to create a folder to store your asset's files. Name it and continue, and the template will generate a new project for you in the Animator module.

<figure><img src="/files/tN0HbxkX1ZEOOwLcM0tH" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Limits with Templates" %}

## Limits with Templates

Below we've noted the differences in the Animator's tool functionality when editing a template.

{% hint style="info" %}
Equipment templates are partially locked.
{% endhint %}

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>Library Panel - NOT Locked</strong><br></td><td><p><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> <strong>Customise Models</strong></p><p>Import, edit*, copy, delete, and create new models<br>*Model only shown</p></td></tr><tr><td><strong>Skeleton Panel - Locked*</strong><br>*Equipment Templates allow some edits<br></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> <strong>Replace Models in the Rig</strong><br>Drag and drop a different model onto a node (Skeleton Panel or Viewport)<br><br><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> <strong>Edit Models</strong><br>Model and asset ghost shown<br><br><span data-gb-custom-inline data-tag="emoji" data-code="274c">❌</span><strong>Node Customisation</strong><br>You can NOT modify nodes, except in Equipment Templates</td></tr><tr><td><strong>Timeline Panel - Locked</strong><br></td><td><p><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> <strong>Quality Assurance</strong></p><p>Select from the animation dropdown and play to test the asset in the Viewport for clipping, z-fighting, gaps, etc.<br><br><span data-gb-custom-inline data-tag="emoji" data-code="274c">❌</span><strong>Animation Customisation</strong><br>You can NOT modify pre-made animation keyframes</p></td></tr><tr><td><strong>Viewport - Locked*</strong><br>*Equipment Templates allow some edits<br></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> <strong>Quality Assurance</strong><br>View animations for testing, check face count (also check node count for equipment templates)<br><br><span data-gb-custom-inline data-tag="emoji" data-code="274c">❌</span><strong>Node Customisation</strong><br>You can NOT modify nodes, except in Equipment Templates</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Special Type: Equipment Templates

Equipment templates are required to create a special asset class of items players can apply to their Avatars. The game engine will not recognise an asset as equipment unless it is made from one of the following templates: head piece, chest piece, arms piece, legs piece, blades, shields.

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

Unlike other templates, equipment templates can only have one animation (with or without motion), and allow you to **add child nodes** in the Skeleton Panel and **create motion keyframes** in the Timeline.

{% hint style="danger" %}
**DO NOT UNLOCK EQUIPMENT TEMPLATES**

Unlocking equipment templates changes the class of the asset from *equipment* that players can use to an *entity*, which can NOT be equipped by the player.
{% endhint %}

{% tabs %}
{% tab title="About" %}

### About Equipment Templates

Choose which equipment template you wish to edit. The Viewport will display the default equipment models located on editable nodes and a greyed out avatar for size reference. Nodes related to the avatar are locked.

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

### Which Nodes Can I Edit?

In the Skeleton Panel, any node with a ![](/files/lDDv7cNozhvEmLaiyEa2) three dot button can have a child node added, and you can import a hierarchy if you have a previously made design you wish to reuse.

The ![](/files/Pr3h1GNnqsztkWoQqHaB) pen tool is also available on editable nodes, which allows you to modify the model linked to it, which shows the asset's ghost. Models in the Library also have this button, but only allow you to see the model itself, not the asset ghost.

All other nodes that do not have these two buttons are locked and can NOT be edited, since they are not part of the actually equipment item being designed.

If a node can be modified in the Skeleton Panel, you can also adjust its position and rotation in the Viewport and create motion keyframes in the Timeline.

{% hint style="info" %}
Nodes with equipment can NOT be moved to other areas of the skeleton since all other nodes are locked.
{% endhint %}
{% endtab %}

{% tab title="Equipment and the Avatar" %}

### Blade and Shield Movements

When designing your equipment using a Blades or Shields template, consider the avatar's movements.

<table data-card-size="large" data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><strong>Blades Template</strong><br>Right hand - Avatar's <em>attack,</em> <em>lunge attack, block</em></td></tr><tr><td><strong>Shields Template</strong><br>Left hand - stationary</td></tr></tbody></table>

### Equipment Visibility

Equipment can be used in both single and multiplayer Experiences, but it is only visible on medium human avatars due to fit on some newer avatars in different sizes.
{% endtab %}

{% tab title="Tutorial: Animating Equipment" %}

### Equipment Animation

#### 1. Plan Your Asset

Open an equipment template based on the part of the avatar you want it to be used on. You can make wings using a chest piece template, an animated force field using a shields template, a staff using a blades template, and so on.

Look at which nodes can be edited and add child nodes according to your plan for shape and motion. If you're not sure where to place nodes to build a shape, create a model to use temporarily as a guide for the shape and break it down into parts.

#### 2. Modify or Create & Replace Models

Equipment templates have different default models you can edit or replace.&#x20;

**To edit a model**, use the **pen button** on the model in the library or in the skeleton (Skeleton button recommended to view the asset ghost while editing).

**To replace models**, import or create new models if needed in the Library, then **drag and drop** onto the correct node(s) to link a model to a node.

<div><figure><img src="/files/3hCwHHhtgwLE7IkyiaKr" alt=""><figcaption><p>Modify a default model <br>(colour and add/remove voxels)</p></figcaption></figure> <figure><img src="/files/1zDQHBSS2FDac0GSUaNH" alt=""><figcaption><p>Create new models in the Library and new nodes in the Skeleton</p></figcaption></figure> <figure><img src="/files/SJExO5JAOEc9mYEQvSXe" alt=""><figcaption><p>Drag and drop models to nodes</p></figcaption></figure></div>

<figure><img src="/files/ysziM4GlxgDmcuAFP2O2" alt=""><figcaption><p>Example: Modified base model, 3 new nodes with 3 new models added</p></figcaption></figure>

#### 3. Create Motion Keyframes (Animate)

Move the playhead in the Timeline to the start position, 0. Move all nodes in the Viewport to the start position for the animation. *Hint:* Sometimes, you may want to hide models inside of others for a growing motion or surpise effect.

To create a motion keyframe, position the playhead to the desired time when you want a movement to be complete, then move a node in the Viewport to a desired position and rotation to reach by that time.

Each node has its own timeline row and can have multiple keyframes to determine its motion over time. Position the playhead and move models as needed to complete your animation.

<figure><img src="/files/AnYiBEKqcpNdVawBinZJ" alt=""><figcaption><p>Example: </p></figcaption></figure>

#### 4. Required: Close Animation

As with all animations, all nodes need to be closed at the same time. Position the playhead to the end of the last frame of the animation and press the diamond icon to quickly close all keyframes. This button is located in the left side of the Timeline at the top right of the list of nodes.
{% endtab %}
{% endtabs %}

## :red\_circle:Advanced: Unlock a Template

Unlocking a template allows you to modify all nodes and models, including animations.&#x20;

{% tabs %}
{% tab title="Important Notes" %}
{% hint style="danger" %}
**DO NOT UNLOCK EQUIPMENT TEMPLATES**

Unlocking equipment templates changes the class of the asset from *equipment* that players can use to an *entity*, which can NOT be equipped by the player.
{% endhint %}

<figure><img src="/files/oUEdzwkYTMscKmnW9FYd" alt=""><figcaption><p>DO NOT UNLOCK EQUIPMENT TEMPLATES</p></figcaption></figure>

### What Does It Mean to Unlock a Template?

Unlocking a template is really about repurposing it in a separate project by importing its hierarchy in the Skeleton Panel. Since the project you'll create isn't actually associated with a template file, it will not be compatible to receive animation updates from The Sandbox.&#x20;

However, this method is a HUGE time saver for creators who want to add more details to a template or repurpose it for a project with similar base structure and animations. The example below may have been created more quickly using this method.

<figure><img src="/files/jlCox2pUXMwEt52C921S" alt="" width="437"><figcaption><p><a href="https://www.sandbox.game/en/assets/lola-white-angels-band-cf-music-fest/dc8c14bd-e334-40d2-bfa1-922f84bd8acf/">Lola - White Angels Band - CF Music Fest</a> by nftislove</p></figcaption></figure>
{% endtab %}

{% tab title="Tutorial: Unlock a Template" %}

### Unlocking a Template

#### 1. Select a Template and Save

Open the template you wish to edit, whether it's Medium Human, Mammal, Bird etc. When prompted to name your project, be sure to give it an obvious name so you can find it in your folders (this is not the file you will edit, but a hierarchy you are saving and may reuse for many projects). Exit the project.

#### 2. Create a New Asset for Your Project

From the VoxEdit home screen, select Animator and then the "Create New Asset" button. This file is the project you'll be creating, so give it a proper name based on what you intend to create.&#x20;

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

#### 3. Import the Template's Hierarchy

In the Skeleton Panel, click the ![](/files/lDDv7cNozhvEmLaiyEa2) three dots button on the World node to open the menu. Choose "Import Hierarchy (VXR, VOX)." In the window that opens, navigate to the template you previously saved. The Skeleton Panel will now be populated with all of its nodes and the timeline will show all of their motion keyframes.

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

#### 4. Customise As You Wish

You now have a duplicate of a template, but it is completely unlocked to add nodes and animations or edit existing ones.

{% hint style="warning" %}
Keep in mind that every animation listed in the timeline is a different arrangement of the same models used in the Skeleton Panel. Your design may hide models inside of others.&#x20;

If you change the pivot point of a model, it will adjust position in every animation. Test thoroughly for clipping, z-fighting, gaps, etc.
{% endhint %}
{% endtab %}
{% endtabs %}


---

# 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://docs.sandbox.game/en/creator/voxedit/docs/templates.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.
