What is CanQuery, and what does it do?

Hello there!, I was looking through a basepart’s properties, I found a property called “CanQuery”, I searched on https://developer.roblox.com, I didn’t find anything, I searched on google and I found it [BasePart | Roblox Creator Documentation] , but it was empty, Anyone know what this does?

22 Likes

found it in the release notes for 484

that explains why there isn’t anything on BasePart.CanQuery
it’s still new

61 Likes

I just wanna make sure I understand, is it like the “Ignore Raycast” layer in unity?

13 Likes

Does GetPartsInPart() also ignore this?

4 Likes

If a part’s CanQuery property is set to false, then yes it will be ignored by GetPartsInPart().

4 Likes

its raycast only i guess, but idk i’ll try