Programatically call a button function

If I have a collapsable frame inside the viewport, I can’t click on the button to close it. How do I call the collapse function from other interaction for example, clicking on rectangle?

If you have a reference to the object, you can use:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.