Skip to content

Studio Script Reference: Event scope

The following properties are only available if you add a computed or watcher script property to an Event data source.

context.event

Exposes the data of the current on-air event connected to the Event data source you're in. If no event has been published yet or is on-air when the script tries to reach it, context.event will be set to null.

Type: object

Example:

If a LowerThird event data structure consists of a title and a byline, the context.event object might look something like this.

js
{
  title: 'Welcome to Bergen',
  byline: 'Powered by Ease Live'
}