ARKit Behaviors Notification

Has anyone used the behavior notification trigger. I can't seam to be able to post a notification.

The code documented here does not seam to work. https://developer.apple.com/documentation/realitykit/creating_3d_content_with_reality_composer/building_custom_behaviors/creating_a_trigger

My scene:
arView.scene.anchors.append(myAnchor)

The notification:
arView.notifications.push.post()

Gets me an error that ARView has no member notifications. Notification Triggers have been created in Reality Composer.

Any help would be appreciated.
When working with RealityKit, your scene generates code with properties and methods specific to your scene. If you have a RealityComposer file called MyTestApp and a scene called MyScene, and then create a notification trigger with an identifier of HideObject, then the generated code will create a notification accessible from your scene object in your app. So for example:
Code Block
MyTestApp.loadMySceneAsync { result in
switch result {
case .success(let scene):
scene.notifications.hideObject.post()
default:
break
}
}

ARKit Behaviors Notification
 
 
Q