Include brs files in Scene Graph files?

Any way we can include already written brightscript files in the scene graph files? I find myself copying in functions since they are out of scope when running a scene. I couldn’t find an example of this since the examples I found were only one main brs file.

The tag has a “uri” attribute that you can set to the path of your BRS file. You can have multiple script tags per component.

Thats gonna help alot:

<script type = "text/brightscript" uri = "pkg:/source/utils.brs" />