i make a sidebar, when i click menu icon in the title bar sidebar open but now what block will be used to close sidebar.
is the following block should i used ?

But how.
…?
i make a sidebar, when i click menu icon in the title bar sidebar open but now what block will be used to close sidebar.
is the following block should i used ?

But how.
…?
simply when any item from the sidebar is clicked then use the close block the run the function you want