<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Scene](./smwebsdk.scene.md) &gt; [onSceneMessage](./smwebsdk.scene.onscenemessage.md)

## Scene.onSceneMessage() method

**Signature:**

```typescript
onSceneMessage(message: SceneResponse): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  message | [SceneResponse](./smwebsdk.sceneresponse.md) |  |

**Returns:**

void

