# วิธีสร้างการโต้ตอบแบบลากและวางใน 3D - แอนิเมชันและการโต้ตอบใน Spline - Spline Academy (https://spline.design/th/academy/tutorials/how-to-build-drag-drop-interactions-in-3d)

> สวัสดีทุกคน! 👋 ในบทเรียนนี้ คุณจะได้เรียนรู้วิธีใช้ฟีเจอร์ลากและวางของ Spline ร่วมกับฟิสิกส์ ทรานซิชัน และแอ็กชัน

1. [Academy](https://spline.design/th/academy)
2. [คอร์ส](https://spline.design/th/academy/collections)
3. [แอนิเมชันและการโต้ตอบใน Spline](https://spline.design/th/academy/collections/animation-interactions-in-spline)
4. วิธีสร้างการโต้ตอบแบบลากและวางใน 3D

# วิธีสร้างการโต้ตอบแบบลากและวางใน 3D

บทเรียนที่ 9 จาก 14Spline 3Dระดับเริ่มต้น10 นาที

สวัสดีทุกคน! 👋 ในบทเรียนนี้ คุณจะได้เรียนรู้วิธีใช้ฟีเจอร์ลากและวางของ Spline ร่วมกับฟิสิกส์ ทรานซิชัน และแอ็กชัน

ตัวอย่างขีดจำกัดการลาก: <https://app.spline.design/file/18c9b1d0-8dab-4a58-8e72-f28068857285> ตัวอย่างแม่เหล็ก: <https://app.spline.design/file/0ebfc2c5-f6ef-4172-b0a3-f822d4c3b62e> ตัวอย่างอื่น ๆ: <https://app.spline.design/library> (หมวด Drag and drop)

## สิ่งที่คุณจะได้เรียนรู้

1. [0:00บทนำ](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=0s)
2. [0:25พื้นฐานของการลากและวาง](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=25s)
3. [1:58การวางและการสแนป](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=118s)
4. [4:23พฤติกรรม ทรานซิชัน และเสียง](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=263s)
5. [5:45ขีดจำกัดการลาก](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=345s)
6. [7:20เอฟเฟกต์ความเฉื่อย](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=440s)
7. [7:43เอฟเฟกต์แม่เหล็ก](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=463s)
8. [8:38ตัวอย่าง: ฟิสิกส์](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=518s)
9. [9:04ตัวอย่าง: รายการแบบวาง](https://www.youtube.com/watch?v=gDXVdJdLJfE&t=544s)

## แหล่งข้อมูลที่เกี่ยวข้อง

- [Drag and drop - Streetเทมเพลต](https://app.spline.design/academy/tutorials/how-to-build-drag-drop-interactions-in-3d?redirect-duplicate-template-uuid=51ef7129-a3d4-4426-8dbd-f36da9537b26&is-2d-file=false)
- [Drag and Drop Eventเอกสาร](https://docs.spline.design/interaction-states-events-and-actions/events/drag-and-drop-event)

## ภาพรวม

- Spline 3D
- 10 นาที
- ระดับเริ่มต้น

## ถัดไป

[เพิ่มการโต้ตอบง่าย ๆ ด้วยการลากและวาง6 นาทีระดับเริ่มต้น](https://spline.design/th/academy/collections/animation-interactions-in-spline/add-more-easy-interactions-with-drag-drop)[ไปต่อ](https://spline.design/th/academy/collections/animation-interactions-in-spline/add-more-easy-interactions-with-drag-drop)

[Spline](https://spline.design/th)

เอดิเตอร์ 3D และ 2D สำหรับทีมและเอเจนต์ของทีม เผยแพร่ได้ทั้งบนเว็บ iOS และ Android

#### ถาม AI เกี่ยวกับ Spline

#### ผลิตภัณฑ์

- [ออกแบบ 3D](https://spline.design/th/3d-design)
- [Hana](https://spline.design/th/hana)
- [Omma](https://omma.build)
- [สร้าง 3D ด้วย AI](https://spline.design/th/ai-generate)
- [Spline MCP](https://spline.design/th/mcp)
- [Spline Arena](https://spline.design/th/arena)
- [ราคา](https://spline.design/th/pricing)
- [องค์กร](https://spline.design/th/enterprise)

#### รันไทม์

- [Web](https://spline.design/th/web)
- [iOS](https://spline.design/th/ios)
- [Android](https://spline.design/th/android)

#### แอป

- [ดาวน์โหลด](https://spline.design/th/download)
- [Spline Mirror](https://spline.design/spline-mirror)
- [ดาวน์โหลด Spline Mirror](https://spline.design/download-mirror)

#### เรียนรู้

- [Docs](https://docs.spline.design/)
- [Academy](https://spline.design/th/academy)
- [Spline API](https://www.npmjs.com/package/@splinetool/runtime)
- [โซลูชัน](https://spline.design/solutions)

#### คอมมูนิตี้

- [คอมมูนิตี้ Spline](https://community.spline.design)
- [Blog](https://spline.design/th/blog)
- [มีอะไรใหม่](https://spline.design/th/changelog)
- [การศึกษา](https://spline.design/th/education)
- [Contra](https://spline.design/contra)
- [พันธมิตร](https://spline.design/th/affiliate)

#### บริษัท

- [ลูกค้า](https://spline.design/th/customers)
- [ร่วมงานกับเรา](https://www.ycombinator.com/companies/spline/jobs)
- [ความปลอดภัย](https://spline.design/th/security)

#### กฎหมาย

- [ข้อกำหนดและเงื่อนไข](https://spline.design/terms)
- [ความเป็นส่วนตัว](https://spline.design/privacy)

#### ติดต่อ

- [help@spline.design](mailto:help@spline.design)
- [jobs@spline.design](mailto:jobs@spline.design)

© 2026 - Spline, Inc.
