Shapecasting it is called. Here is a tutorial going over raycasts in general but it does go over shapecast as well at the end. https://youtu.be/u6I17z6ggUg?si=BZKp7jh2HUdHPOKX
Learn how to script Raycasting in your Roblox games! Raycasting is an easy concept to understand, but a very difficult concept to implement, making it one of the most popular scripting concepts on Roblox. Follow along this long, detailed tutorial discussing what raycasting is, how to create visuals for your raycasts, learn RayResults, Raycast Pa...