Below is a categorized reference of events supported by the app runtime.
Events - User Experience
These events are triggered for apps supporting a user interactive experience.
| Event | Description | 
|---|---|
| Ux.Global | Global script accessible to all other scripts | 
| Ux.Initialize | Runs once when your app first starts | 
| Ux.Shutdown | Runs when your app is closing | 
| Ux.PageReady | Runs when a page has finished loading | 
| Ux.Change | Runs when the user changes something in your app's visual layout | 
| Ux.Click | Runs when the user clicks a button in your app's visual layout | 
| Ux.Validate | Runs when the host validates the user's input to your visual layout | 
| Ux.Render | Runs when the host renders language output | 
| Ux.ResourceReady | Runs after a requested internet resource has been downloaded into cache (i.e. file, raw data, image, ML model results, etc) | 
| Ux.IoT | Runs once after your app has been initialized - used for loading IoT measurements | 
| Ux.Test | Runs when clicking the Test button inside the app simulator - used for testing scripts before subscribing to real production events | 
Events - Avatars
These events are triggered for apps targeting the avatar service and do not support a user interactive experience.
| Event | Description | 
|---|---|
| Avatar.Run | Runs when an avatar awakes (according to its schedule) | 
| Avatar.Install | Runs once, when installed into an avatar | 
| Avatar.Uninstall | Runs once, when uninstalled from an avatar | 
