> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/airelated/koi2/kittenblock/linetrace.md).

# 線條追蹤

### KittenBlock編程

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsN6MlwBFbL3P67FzMMyL%2Fuploads%2FUtDG6wJ0HC3Ex5At1Pf0%2Fscreenshoot-2403061201.png?alt=media&#x26;token=b3591155-8766-44f0-a61b-670607dd445f" alt=""><figcaption></figcaption></figure>

參考程式：

{% file src="/files/dIPWg1J8wBGMwVohxpR2" %}

### 程式解說

1. 按A鍵開始對黑線追蹤，未來板會顯示黑線的座標。
2. 按B鍵開始自定義線條追蹤，將KOI對準線條等待校正，未來板會顯示線條座標。
