---
title: castsShadow
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/groundingshadowcomponent/castsshadow
---

# castsShadow

A Boolean value that indicates whether an entity casts a shadow onto other model entities in the scene.

## Declaration

```swift
var castsShadow: Bool
```
