# RC_DETECT_PHANTOM

*LSL constant*

```lsl
integer RC_DETECT_PHANTOM = 1;
```

Flag used with llCastRay. If set to TRUE (or non-zero), detects both phantom and volume-detect objects (they cannot be filtered individually). This overrides the RC_REJECT_NONPHYSICAL and RC_REJECT_PHYSICAL settings in RC_REJECT_TYPES.

Constant groups: [RayCastParam](/constants/groups/RayCastParam/)

## See also

### Functions

- [llCastRay](/functions/llCastRay/)

---

*Source: [RC DETECT PHANTOM](https://wiki.secondlife.com/wiki/RC_DETECT_PHANTOM) on the Second Life Wiki. Content from the Second Life Wiki article RC DETECT PHANTOM (revision 1160630, 2012-01-05), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/RC_DETECT_PHANTOM/
