# A-Frame Event Listeners

The hosted 8th Wall platform was retired Feb 28, 2026. Existing published experiences continue to run until Feb 28, 2027. [View Migration Guide](https://8th.io/migration)  [View Announcements](https://8thwall.org/blog)

This section describes the events that are listened for by the "xrweb" A-Frame component.

You can emit these events in your web application to perform various actions:

| Event Listener | Description |
| --- | --- |
| [hidecamerafeed](https://8thwall.org/docs/api/engine/aframeeventlisenters/hidecamerafeed) | Hides the camera feed. Tracking does not stop. |
| [recenter](https://8thwall.org/docs/api/engine/aframeeventlisenters/recenter) | Recenters the camera feed to its origin. If a new origin is provided as an argument, the camera's origin will be reset to that, then it will recenter. |
| [screenshotrequest](https://8thwall.org/docs/api/engine/aframeeventlisenters/screenshotrequest) | Emits a request to the engine to capture a screenshot of the AFrame canvas. The engine will emit a [`screenshotready`](https://8thwall.org/docs/api/engine/aframeevents/screenshotready) event with the JPEG compressed image or [`screenshoterror`](https://8thwall.org/docs/api/engine/aframeevents/screenshoterror) if an error has occurred. |
| [showcamerafeed](https://8thwall.org/docs/api/engine/aframeeventlisenters/showcamerafeed) | Shows the camera feed. |
| [stopxr](https://8thwall.org/docs/api/engine/aframeeventlisenters/stopxr) | Stop the current XR session. While stopped, the camera feed is stopped and device motion is not tracked. |
