# How to use logic in your 3D scenes with Spline (https://academy.spline.design/tutorials/how-to-use-logic-in-your-3d-scenes-with-spline)

> A video tutorial from the Spline Academy.

- Product: Spline 3D
- Level: beginner
- Duration: 7 min 21 s
- Published: 2022-10-20
- Video: https://www.youtube.com/watch?v=6XLvzJ9ngtg

## About this tutorial

Hi! In this tutorial, you will learn how to use the new conditional logic event in Spline to add more complex interactivity to your 3D scenes.

## Chapters

- [0:00](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=0s) Introduction
- [0:34](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=34s) Setting up the scene
- [1:55](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=115s) Distance comparison with IF and THEN
- [3:15](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=195s) Using ELSE to reverse
- [4:30](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=270s) Adding sound actions
- [5:08](https://www.youtube.com/watch?v=6XLvzJ9ngtg&t=308s) The State Change condition
