# Blocks

Blocks are the building materials for Schéma behaviors.

They can create, modify, combine, filter and otherwise transform various [attributes ](https://docs.scenic.tools/guide/blocks/aspects)and parts of the scene.

![](https://2803540508-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_2-aJC2gpx8goxEoBZ%2F-M7r4QEEWtMRBoa9R7O5%2F-M7r5kfeg_AaMq489it3%2Fbuilding-blocks-5097836_1920.jpg?alt=media\&token=32b3a979-921f-4002-afac-61f33d0b14d3)

## Categories

All blocks are categorised into the following broad categories depending on what they broadly do.&#x20;

Further subcategories hint at which attribute the block deals with.

{% hint style="info" %}
Names after the "/" are possible future names of the categories. The **bold** names are current.
{% endhint %}

* **Create** (formerly Source)
  * Attribute generation, your starting point
* **Combine** (formerly Operator)
  * Combining multiple inputs into one output, such as adding two colors together
* **Modify** (formerly Effect)
  * Modifying one input to become another output
* **Pick**
  * Picking one output from multiple inputs
* **Filter** (formerly Gate)
  * Allowing only some attributes through
* **Convert**
  * Converting from one aspect to another, eg. color intensity to movement
* **Transition**
  * Providing transitions from one aspect set to another. Eg. Fade. Usually not used manually but added automatically on animation assignments.
* **Setup**
  * Change configuration of the parent Fixture, eg. Pixel Positions
* **Assign**
  * Assigning of global variables and Stacks to Fixtures
* **Hybrid**
  * Special nodes that do not fall into any of the previous categories

![](https://2803540508-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_2-aJC2gpx8goxEoBZ%2F-M9yVnU9xpQkIOCqbbdX%2F-M9yWp_UGfkDCzTlwGzE%2FScreenshot_18.png?alt=media\&token=7afef80e-3ad1-4e41-a0fb-da201804bdeb)

## Subcategories

After categories the Blocks are categorised further into subcategories according to the Attribute they deal with. Generic Blocks - Blocks that are able to deal with any or most attributes - are placed directly within the Category.

### Basic attribute subcategories

These include

* Color 🌈
* Value ➕
* Position 🛰
* Radius 🎈

{% hint style="warning" %}
Emojis are not yet included inside the app, but I'm sure you'd love them to be just as I do.
{% endhint %}

## Sketchpad

Conversion Blocks should use both emojis ➕▶🌈


---

# 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.scenic.tools/guide/blocks.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.
