Dear Friend,
Add the below formular to the on select property of the hambuger menu icon
If(buttonpresscount = 1, Set(buttonpresscount, 0), buttonpresscount = 0,Set(buttonpresscount, 1))
and
For the component you made, In that add the below formular to visible property of it.
If(buttonpresscount = 1 , true ,false)