---
title: allowsHitTesting
framework: usdkit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: usdkit/usdstagecomponent/allowshittesting
---

# allowsHitTesting

Whether the rendered entities support hit testing. Set at initialization and cannot be changed afterwards.

## Declaration

```swift
let allowsHitTesting: Bool
```

## See Also

### Configuring the component

- [stage](usdkit/usdstagecomponent/stage.md)
- [timeCode](usdkit/usdstagecomponent/timecode.md)
- [rendersAutomatically](usdkit/usdstagecomponent/rendersautomatically.md)
