How to hide sidebar without toolbar

Problem:I want to hide the sidebar by clicking a button, but without using the toolbar. How can I do ?

ActivePresenter Version: 7.5.5

OS: windows seven

Notes:

Hi @electricus,

You can use Execute JavaScript action with the following script:

  // hide sidebar
  prez.showSidebar(false);
  // to toggle sidebar, use prez.showSidebar(!prez.sidebarVisible());

Regards