# 旋回機能を作る

<https://scratch.mit.edu/projects/78600004/>

## (1) 旋回(せんかい)するスクリプトを追加(ついか)する

### (1-1) 左下(ひだりした)のArrowをクリックする

### (1-2) 右上(みぎのうえ)のスクリプトタブをクリック

### (1-3) 下記(かき)スクリプトを追加(ついか)してください

![](/files/-LAM16TF84q-D-isr4Al)

**※ 「そくどX」変数(へんすう)を作(つく)るときは、「このSpriteのみ」にチェックを入れてください**

**※ 「そくどY」変数(へんすう)を作(つく)るときは、「このSpriteのみ」にチェックを入れてください**

**※ 「じゅうりょく」変数(へんすう)を作(つく)るときは、「このSpriteのみ」にチェックを入れてください**

**※ 「きょりX」変数(へんすう)を作(つく)るときは、「このSpriteのみ」にチェックを入れてください**

**※ 「きょりY」変数(へんすう)を作(つく)るときは、「このSpriteのみ」にチェックを入れてください**

## (2) 確認(かくにん)してみよう

<https://scratch.mit.edu/projects/78600004/>

![](/files/-LAM16U8M3QBKA0rb0-k)

### (2-1) 右上(むぎうえ)の緑色(みどりいろ)の旗(はた)をクリックしてください。

### (2-2) 左キーを押したら左に旋回すること

### (2-3) 右キーを押したら右に旋回すること


---

# 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://firefirebook.firefirestyle.net/spacewar/create_spin.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.
