Call function from other screen

Is thunkable x support calling function that defined in screen1 from screen2?
this is important feature that will reduce code lines

See scrTitle and scrGlobalFunctions

https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/

3 Likes

So at anytime the message is changed, the function fires? Do I understand that correctly? Because the function is powered by a timer, which work across screens?

After an event occurs from the user, a single timer is started. The event handler for this timer is located on a different screen, which allows you to call functions from it on the same screen.

Unfortunately, components don’t have global links, and we can’t directly access a component on another screen from one screen. If this were possible, then even more powerful applications could be created.

1 Like