# Enum.RaycastFilterType

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/RaycastFilterType/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/RaycastFilterType

Used in a [`RaycastParams`](https://rapi.sleaze.dev/index/types/RaycastParams.md) object to determine how its `FilterDescendantsInstances` list will be used.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Exclude` | 0 | Legacy name: `Blacklist`. Every [`BasePart`](https://rapi.sleaze.dev/classes/BasePart.md) in the raycast operation will be considered **except** those that are descendants of objects in the filter list. |
| `Include` | 1 | Legacy name: `Whitelist`. Only `BaseParts` which are descendants of objects in the filter list will be considered in the raycast operation. |
