Help Requested

In Editor X, you must first activate Developer Mode. Then, if you select an object, you’ll have the option of collapsing it.

Here’s a screenshot where I’m setting the pink container to collapse.

That sets the initial state. You’ll then use your buttons and code to control expanding and collapsing as the user moves the cursor.