What is overlap params and is it usable?

So I tried using the new function WorldRoot:GetPartsInPart() and in the second parameter it requires a OverlapParam. I tried using it but I am confused on how to use it.

OverlapParams seems to operate the same way RaycastParams does. From what I can tell, it’s a DataType that filters what BaseParts gets returned in the function.

image

1 Like

Not sure if it is usable because I did OverlapParams.new() and gave me this error:
attempt to index nil with 'new'

Yea, it doesn’t seem to be enabled but it’s accessible.

image

1 Like

Oh, that clears up the confusion I had. Thanks!

1 Like