How to use Instance

Members

(constant) Use Instance to get components

In your web app, you can obtain all the first-level child nodes from the Instance variable.

Example
# if there are two button components(Button_1,Button_2) in your workspace, you can get the buttons using the Instance variable.

# Button_1's onClick
    console.log(Instance)
    Instance.Button_2.text = "hello world";