# \[마이크로비트] 자이로 센서 좌표

### 코드

```
@마이크로비트 {X/Y/Z} 좌표 가져오기
```

***

### 설명

자이로 센서의 상태값을 숫자로 가져와요.

***

### 주의사항

* X/Y/Z 중 한 가지만 가져올 수 있어요.

***

### 파이썬 대응 코드

마이크로비트 코드는 파이썬에 대응되는 코드가 없어 제공되지 않아요.

***

### 예시

{% code title="예시 코드" %}

```
(@마이크로비트 X 좌표 가져오기) 보여주기
```

{% endcode %}

***

### 검색 키워드

위치, 흔들기


---

# 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://codebook.horang.it/microbit/039.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.
