Passing reference to UX-element to another UX-element

Hey,

I have multiple UX elements that does the same timeline routine when they are set visible to the screen. I would like to separate these elements to own UX files and pass in the reference to that timeline.

The timeline has references to elements that are in my main ux.

How can I do this? I know I could call a javascript method that would set the value of TargetProgress of that timeline when needed, but it would be cool to be able to pass the reference to that timeline and do this in UX. Is it possible?

Nevermind, I ended up using the Javascript for this and it’s way better this way.

Well if its possible in UX it might be better to do it there. But you would have to show some code showing what you tried and exactly what you want