# 開閉ブロックを設置する

**開閉ブロック**とはタップで開いたり閉じたりできる折り畳み式のブロックのことです。**複数のテキストや山札をまとめたい**ときに便利です。

## 開閉ブロックの追加

フェーズやテキストの追加ボタン、または「：：：」マークから「前に/次に挿入」をクリックして、開閉ブロックを選択します。

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

## 開閉ブロックの中身の追加

追加した開閉ブロックの右にある矢印が下を向くようにクリックすると、開閉ブロックが開きます。

追加ボタンをクリックして、好きなウィジェットを追加します。**テキスト、画像、区切り線、セリフ、山札、２層目以降の開閉ブロック**が追加できます。

開閉ブロックの外にあるものを中に入れたり、開閉ブロックの中にあるものを外に出したりする際はドラッグ操作で移動させます。文章が長いテキストボックスなどは上手く出し入れできないこともあります。その場合はテキストのコピー＆ペーストをご利用ください。

以下の画像は山札を追加した場合を示しています。複数の調査箇所をまとめたいとき、ジャンル分けしたいときなどに便利です。実際のプレイ画面では矢印部分をタップすると右のようにブロックが開きます。

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

## 層構造

開閉ブロックは**２層以上**追加することもできます。

時間ごとの行動を示す文章が長いようなキャラクターテキストにおいて時間ごとにブロック分けしたいとき等に便利です。

層ごとやテキストごとに[表示条件](/advanced/text-customize.md)も利用できます。

<figure><img src="/files/8EpSTGZLO7gO5Yv2i4a6" alt=""><figcaption></figcaption></figure>


---

# 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.studio.uzu-app.com/advanced/expansionwidget.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.
