How to reliably get the part that a ray hits?

I’ve tried using ray.Instance but it seems to only work then the ray hits something like a player or a grouped model. How can I get it to work with normal parts?

Are you sure because in the dev hub it says that raycast.Instance works with BaseParts

And in things I have done before it detected parts.

1 Like

hmm, maybe it’s something I’m doing. Thanks for the response and I’m sorry for getting back to you late.

If you still have a problem with it message me in dms