> For the complete documentation index, see [llms.txt](https://riseclients-organization.gitbook.io/rise-6-scripting-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riseclients-organization.gitbook.io/rise-6-scripting-api/api-documentation/events/load-event.md).

# Load event

This event gets executed upon the script being loaded.

This event will be called upon the **script initialization / initial load / construction of a `Script` object.** This event **does not** have any parameter&#x73;**.**

```javascript
script.handle("onLoad", function () {
    // initialize (register) variables / hooks / modules / commands here
}
```
