PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

CanQuery

BasePart

bool

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.