Adding interactivity
Interactivity is an integral part of any immersive WebXR or 3D experience.
With Mattercraft, you can listen out for user interactions (such as the tap of a button) or events that are triggered (such as a raycaster picking an object), and activate behavior actions in response.
There are a few ways that user interaction can be set up in Mattercraft: