# Stock Layer Templates

With every installation of LightAct, you'll get a new and updated library of Layer Templates. These templates are called *Stock Layer Templates*.

<div align="left"><figure><img src="/files/me66dcVln4ok63CcaEyZ" alt=""><figcaption></figcaption></figure></div>

They are divided into the following categories: **Content, Generative** and **Control**.

## Content and Generative Layer Templates

All layer templates in **Content** and **Generative** categories render a texture. The only exception is *Audio* layer template, which of course plays audio assets and doesn't render anything.

### Render variable group

If you click on any of these layers (apart from Audio) you will see that they have an identical group of Variables called **Render**.

<div align="left"><figure><img src="/files/kgYuw9MbSVTJXgnvutf6" alt=""><figcaption></figcaption></figure></div>

This group has the same variables in all Layer templates:

* **Blend mode**: determines the blend mode that's going to be used when rendering the texture onto a mapping. The options are the familiar ones such as Normal, Screen, Multiply etc.
* **Opacity**: determines the opacity with which texture when rendered onto the mapping.
* **Mapping:** determines the mapping, which the texture is going to be rendered on. More information about this is in the chapter [Content mapping](/content-mapping/content-mapping-overview.md).
* **Clip mode**: determines how the content is rendered onto the mapping. Options are:
  * *Pixel perfect*: renders the texture as it is without and stretching, scaling or cropping
  * *Fit*: scales the texture proportionally so that it fits the mapping. If aspect ratios are different, there will be empty areas in the mapping.
  * *Crop*: fills the mapping in its entirety. If aspect ratios are different, the texture is going to get cropped
  * *Stretch*: fills the entire mapping but if the aspect ratios of the texture and the mapping are different, there will be stretching
* **Angle**: rotates the texture by the specified angle in degrees.
* **Anchor at center**: if unchecked the texture is going to be rotated around the top left corner, if checked, it's going to be rotated around the center.
* **X:** moves the texture by X pixels horizontally
* **Y:** moves the texture by Y pixels vertically
* **Scale X**: scales the texture along horizontal axis
* **Scale Y**: scales the texture along vertical axis
* **Scale proportionally**: if checked, *Scale X* is going to be used for vertical (Y) axis as well.

***

Click on the links below to dive deeper into Layer Templates.

{% content-ref url="/pages/rewKuwPYyDVPdqTBnfbX" %}
[Content Layer Templates](/layers-and-layouts/stock-layer-templates/content-layer-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/xvp22h61HowrWnLWInv1" %}
[Generative Layer Templates](/layers-and-layouts/stock-layer-templates/generative-layer-templates.md)
{% endcontent-ref %}

## Control Layer Templates

Control Layer Templates do not render anything nor do they play any audio. Instead they are used for show control and data processing.

{% content-ref url="/pages/KJ8jZep9zjBfjRkCFinQ" %}
[Control Layer Templates](/layers-and-layouts/stock-layer-templates/control-layer-templates.md)
{% endcontent-ref %}


---

# 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.lightact.com/layers-and-layouts/stock-layer-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.
