# Introdution

Event system allows scripts register callbacks into script API

**Example:**

```javascript
scriptInstance.listen("base::init", function() {
    log("Hello world")
})
```

The above example registered **init** event in **base** namespace, and it will loaded in script setup section
