Script that has view scope

Can I create a script on a view that all components on the view can access that also has can use self? An example would be if I needed to clear text fields on a view but I did it in several different scenarios. Is there a way I could set up one script to call?

Create it in Scripting → Project Library → Project Library. That will be accessible from anywhere in the project.

In English, please?

I am not sure you were cut out for customer support

1 Like

Pass self as a function argument to your project library script.

2 Likes

Thank you. Not sure why I didn't think about that.