Models or BaseParts in RayCast Ignore List

Pretty simple question.

Can I put a model in the in the ignoreDescendantsTable of the Workspace:FindPartOnRayWithIgnoreList method?

To clarify, will it ignore all the descendants of the model?

1 Like

As far as I’m aware, FindPartOnRay only works when specifying the particular part, with IgnoreList most likely requiring to identify all the parts in a model (you can do this using for loops).

1 Like

You can check the dev wiki’s API reference for this:


tl;dr, yes.

This is a very useful resource overall for simple questions like this, there is usually enough information there to answer them. If not, that is what this category is for!

4 Likes

I agree, most information can be found on the Developer Wiki, something OP should check in with first.

1 Like

I did check the wiki, as I always do. I must have missed that. Thanks!

2 Likes