Skip to content
Roblox API Reference

Enum.RaycastFilterType

Used in a RaycastParams object to determine how its FilterDescendantsInstances list will be used.
Items
2
Uses
0

Items2

  • Enum.RaycastFilterType.Exclude = 0
    Every BasePart in the raycast operation will be considered except those that are descendants of objects in the filter list.

    Legacy names: Blacklist

  • Enum.RaycastFilterType.Include = 1
    Only BaseParts which are descendants of objects in the filter list will be considered in the raycast operation.

    Legacy names: Whitelist

No class members use Enum.RaycastFilterType.