The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar




CanQuery determines whether the part is considered during spatial query operations, namely WorldRoot/GetPartBoundsInBox|GetPartBoundsInBox, WorldRoot/GetPartBoundsInRadius|GetPartBoundsInRadius and WorldRoot/GetPartsInPart|GetPartsInPart. These functions will never include parts whose CanQuery is false.

Beyond this property, it is also possible to blacklist parts which are descendants of a given list of parts using an datatype/OverlapParams object when calling the spatial query functions.