---
title: shouldClipChildren
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clippingcomponent/shouldclipchildren
---

# shouldClipChildren

Controls whether child entities are clipped by this component’s bounds.

## Declaration

```swift
var shouldClipChildren: Bool
```

## Discussion

Discussion When true, all descendant entities in the hierarchy will be clipped to this entity’s clipping bounds. When false, only the entity with this component is affected (if shouldClipSelf is true).

## See Also

### Configuring clipping behavior

- [shouldClipSelf](realitykit/clippingcomponent/shouldclipself.md)
