# Avatar Checkpoint

<figure><img src="https://content.gitbook.com/content/V8pr5EgDZn2rnTUJE8XB/blobs/Q7wfa0iLYPKbpNCipLzm/Avatar%20Checkpoint%20component.webp" alt=""><figcaption><p>スポーンポイントの設定<br>有効になっている場合、プレイヤーは死亡した後に指定した場所のチェックポイントに戻ることができます。</p></figcaption></figure>

{% hint style="info" %}
[**シングルプレイヤーとマルチプレイヤーのロジックを制作**](https://docs.sandbox.game/jp/creators/game-maker/creative-guide/game-rule-guide/build-singleplayer-and-multiplayer-logic)のページでも<mark style="color:green;">**\[SP]**</mark> や <mark style="color:orange;">**\[MP]**</mark> のビヘイビアやコンポーネントの使い方をご紹介しています。
{% endhint %}

## <img src="https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FPItsyCNXLUfjrfPomjCH%252Fimage.png%3Falt%3Dmedia%26token%3Ddc7bb90f-0d2d-44b1-8f4a-2fd2881e128a&#x26;width=40&#x26;dpr=4&#x26;quality=100&#x26;sign=5d607f17&#x26;sv=2" alt="" data-size="line"> Avatar **Checkpoint のコンポーネント&#x20;**<mark style="color:orange;">**\[MP]**</mark>

プレイヤーが死亡する前に有効にしてあると、オブジェクトの位置にプレイヤーをリスポーンさせることができます。

以下の方法でこのコンポーネントを有効にすることができます。

* **Message Required** がInteract に設定してある場合、 E キーを押してオブジェクトとインタラクションを取って有効にできます。
* オブジェクトの**Message Required** を必要に応じて設定することで様々な方法で有効にできます。

## おすすめの使い方

* すでにクリアしている難しいゲームプレイなどを繰り返すのではなく、新しいチャレンジに集中できるような状況を作り出すことができます。
* プレイヤーが死んだり、Avatar's Portal （ゲームスタート時）でリスポーンした場合に起きる、体験のロジカルなフローやナラティブへの影響を避けることができます。

## コミュニケーション

<table data-header-hidden><thead><tr><th width="300"></th><th></th></tr></thead><tbody><tr><td><strong>インプット</strong>：1 つ以上のメッセージ</td><td><strong>アウトプット</strong>：メッセージ送信が可能</td></tr></tbody></table>


---

# 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/jp/creators/game-maker/document/components/avatar-checkpoint.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.
