# 上下に逃げる

次(つぎ)は、上下(じょうげ)キーを押(お)したら、上下(じょうげ)に 移動(いどう)する機能(きのう)を追加(ついか)してみます。

## (1) Sprite1のスクリプト画面(がめん)を表示(ひょうじ)する

![](/files/-LAM1A8cJNwhUbHNGEDR)

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

### (1-2) スクリプトタブをクリックする

## (2) スクリプトを追加(ついか)する。

![](/files/-LAM1A93NwAgZ-XaRC5s)

## (3) 確認(かくにん)する

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

![](/files/-LAM1AAAjslt2RDtK9YO)

### (3-1) 右上(みぎうえ)の旗(はた)をクリックする

### (3-2) 上(うえ)キーを押(お)すと上(うえ)に移動(いどう)すること

### (3-3) 下(した)キーを押(お)すと下(した)に移動(いどう)すること

## (4) Good!

![](/files/-LAM11AX22oLEfSgY5jH)

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


---

# 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/tag/readme3.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.
