Selecting Objects with Raycast – Unity Tutorial

This Unity tutorial will teach you how to select objects using raycasts.

#UnityTutorial #Raycast #GameDevelopment

📦 Download the project at

This tutorial was created in part with Jason Storey (apieceoffruit). Learn more about Jason by visiting

💬 Join Our Community

– Discord:
– Patreon:
– Newsletter:

❤️ My Favorite Unity Assets *

– Odin Inspector and Serializer:
– Editor Console Pro:
– Rainbow Folders 2:
– Peek:
– Project Search & Replace:

⚡ Unity 3D Plus:
⚡ Unity 3D Pro:

📧 Follow and Subscribe

– Twitter:
– YouTube:
– Website:

👋 Contact me directly at

* Disclosure: These are affiliate links, which means I’ll receive a commission if you use them to make a purchase.

00:00 Intro
00:26 Overview of the example project
01:15 A preview of the final product
01:45 Tutorial
04:10 Testing our first pass
05:15 Fixing the initial code
08:05 Testing our second pass
09:05 Outro


What do you think?

How to Build Stair Stringers

[UE4 TUTO FR] La Transparence (Alpha)