> For the complete documentation index, see [llms.txt](https://firefirebook.firefirestyle.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://firefirebook.firefirestyle.net/tetris/collision.md).

# テトロミノの衝突判定

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

![](/files/-LAM0ydo_a9ObVR6hmV1)

テトロミノの衝突判定機能を作りましょう。

## (1) 衝突判定のスクリプト

![](/files/-LAM0ydznfTErNTDwxyg)

## (2) 確認する

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

![](/files/-LAM0yeI0tHkODy2p1te)

### (2-1) スクリプトを追加する

![](/files/-LAM0yeq951nkDWaZXFQ)

### (2-2) 右上(みぎうえ)の緑色(みどりいろ)の旗(はた)をクリックする。

### (2-3) 1 と 0が交互に表示されること


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/tetris/collision.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.
