interactMouse() while Container not Visible

I’ve been trying to figure out a nice way to get containers the execute with interactMouse() whilst they aren’t visible.

Basically I have a UI that is being driven by data received from OSC. I can confirm the OSC is received and the interactMouse() function is executed, however nothing happens to that container unless it is visible on screen - I want the container’s UI elements to update always as I am exporting it via the OP Viewer TOP.

If anyone has any pointers or methods that can force Container UI’s to update even while off screen that would be great!

(Using .12370 at the moment)

Hi @Jaydos,

could you enclose the ui in a additional Constainer COMP which determines the display state but run your .interactMouse on the enclosed ui?

- countainer1 (display = off)
| - container2  (display = on)
| | - ui element 0
| | - ...
| | - ui element n
op('/project1/container1/container2').interactMouse()

cheers
Markus

I’ll give that a go tomorrow! Cheers!