---
title: "Discussion on \"[TypeScript] 제스처로 대화하기. #9 - 팬(with. 스와이프) 편\" | Hashnode"
description: "Discussion on \"[TypeScript] 제스처로 대화하기. #9 - 팬(with. 스와이프) 편\". 이번 편은 이전 편으로부터 이어집니다.\n\n스와이프는 특정 축을 따라 이동하는 팬 동작을 의미합니다. 즉, 이동 축을 제한한 팬입니다. 대부분 수직, 수평 축에 대해 사용합니다. 축을 제한하려면 어떻게 해야 할까요? 이를 위해서는 포인터의 좌표를 축 위에 놓아야 합니다. 이는 축에 내린 수선의 발을 구하는 문제와 동일합니다.\nfunction findPerpendicularFootOnAxis(x: number, y: number, axis: num..."
url: "https://hashnode.com/posts/pan-gesture-3/67270895ee6a7588fd331f56"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[TypeScript\] 제스처로 대화하기. #9 - 팬(with. 스와이프) 편](https://koranidro.hashnode.dev/pan-gesture-3?utm_source=hashnode&utm_medium=feed)

이번 편은 이전 편으로부터 이어집니다. 스와이프는 특정 축을 따라 이동하는 팬 동작을 의미합니다. 즉, 이동 축을 제한한 팬입니다. 대부분 수직, 수평 축에 대해 사용합니다. 축을 제한하려면 어떻게 해야 할까요? 이를 위해서는 포인터의 좌표를 축 위에 놓아야 합니다. 이는 축에 내린 수선의 발을 구하는 문제와 동일합니다. function findPerpendicularFootOnAxis(x: number, y: number, axis: num...

Nov 3, 2024 · 2 min read · koranidro.hashnode.dev  
Updated Nov 23, 2024  
Read the article

-   [#gesture](https://hashnode.com/tag/gesture)
-   [#gesture-detector](https://hashnode.com/tag/gesture-detector)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#pan](https://hashnode.com/tag/pan)
-   [#swipe](https://hashnode.com/tag/swipe)

## Written by

[고라니드로](https://hashnode.com/@koranidro)

@koranidro

  
[View profile](https://hashnode.com/@koranidro)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
