# Coatを作成する

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

![](/files/-LAM15v0Y1rk54zB8Ry5)

コートを作成(さくせい)します。

## (1) 背景(はいけい)にコートを描(か)く

![](/files/-LAM15vYL09HceNaH9ib)

### (1-1) 左下(ひだりした)の「ステージ1背景」をクリックする

### (1-2) 右上(みぎうえ)の背景(はいけい)タブをクリックする

### (1-3) 上図(じょうず)のように絵(え)を描(か)く。3色(じょく)で描(か)いてください

## (2) 衝突(しょうとつ)したボールが跳(は)ねるスクリプトを追加(ついか)する

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

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

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

![](/files/-LAM15w7g_zMJE2GI7wZ)

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

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

## (3) 確認する

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

![](/files/-LAM15xapiNIbe4V92rD)

### (3-1) 右上の緑色の旗をクリックする。

### (3-2) Spaceボタンを押すと、マウスカーソルで指定した方向にボールが飛んでいくのを確認する。

### (3-3) コートに触れると跳ね返ることを確認する

## (4) Good!

![](/files/-LAM1-nARYV39XQDYUwd)

良(よ)くできました。次(つぎ)のステップに進(すすみ)みましょう!!


---

# 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/tennis_of_two/create_court.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.
