# Core Blocks

## Overview

Thunkable's core blocks are the fundamental building blocks that represent basic operations, logic, control structures, or data manipulation functions that are crucial for creating block code. They include blocks for actions like arithmetic operations, loops, conditionals (such as if-else statements), and variables.&#x20;

## Core Block Categories:

{% content-ref url="/pages/-LZ7M7dWp7sPF-kNzqIH" %}
[Control Blocks](/blocks/blocks/control.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dXZpPSVdmB4IXy" %}
[Logic Blocks](/blocks/blocks/logic.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dYA-kPrpDEFsy\_" %}
[Math Blocks](/blocks/blocks/math.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dZ0Xco7SsZRBpy" %}
[Text Blocks](/blocks/blocks/text.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7d\_IPkOYtAz2ZPE" %}
[Lists Blocks](/blocks/blocks/lists.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dawEcA5dCOq2s2" %}
[Color Blocks](/blocks/blocks/color.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dbOT1FdUJTCESB" %}
[Objects Blocks](/blocks/blocks/objects.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7dcI5JhTK-C\_78W" %}
[Device Blocks](/blocks/blocks/device.md)
{% endcontent-ref %}

{% content-ref url="/pages/v9nGDSJULCb6toDML3C0" %}
[Variables Overview](/blocks/blocks/variables-overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LZ7M7deA4OGxvDD7duZ" %}
[Functions Blocks](/blocks/blocks/functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M5aL5rLKzPYplRcYGE5" %}
[Data Sources](/getting-started/data-sources.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.thunkable.com/blocks/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.
