Set container size from background

If I make a container and set its Background TOP with fill = Native Resolution, is there a setting to make this container’s size automatically match that of the background? I can do this by setting the container’s fixed width and height like op('SDI_in').width, but then it’s more work to fix if that TOP name changes. I’m just wondering if there’s a simpler way.

No, I believe you have it. To deal with the naming problem, I suggest making a nullTOP called “bg” and always wiring your background TOP into it. Then you never need to change the name of the referenced TOP.

1 Like

Ok I guess I partially answered my own question. I can use me.par.top.eval().width. I’m still getting used to this software, it seems like expressions are often required to do very basic tasks.

That’s another good way to go! Maybe even better!