---
title: "InteractionPolicy"
description: "Defines the interaction policy for a spatial object."
type: "interface"
lastmod: "2026-05-20T01:13:53.215584Z"
---
## API Reference

> Source set: Android

```kotlin
public interface InteractionPolicy
```

Defines the interaction policy for a spatial object. This policy enables reacting to a user's
spatial inputs.

## Properties

### isEnabled

> Source set: Android

```kotlin
public val isEnabled: Boolean
```

Whether an interaction policy is enabled for this object. If `false`, spatial interaction
input events will not be returned.

## Functions

### onInputEvent

```kotlin
public fun onInputEvent(event: SpatialInputEvent)
```

Raw event executed with every input update.
