Interaction between Xojo and XojoScript

I know XojoScript can interact with Xojo through Context. However, how do I call a function/method defined in XojoScript? Is it possible?

No, Xojo code can’t call into arbitrary methods defined in Xojo Script.

you have Input and Print, those allow you to share information between Xojo and XojoScript. You may want to implement a way to communicate your own way. It’s not possible to directly call a XojoScript method from Xojo.

From the docs:

It’s more complex than that. I need to find another solution. Thank you all.