How can i enable/disable the actor class on pressing menu button of controller in VR

when i press the button it enable now how can i do for disable it

Maybe bit more information? If you can enable it, why not disable it? And what do you mean with enable? What function are you calling?

we made a blueprint of actor class and placed it on my level it works very well on the begin play. But now i want a change in my BP, if I press the menu button of the controller the BP of actor class should be start working and I press the same button again it should be stop the working and should not show on the view port.

Use a boolean variable together with a Branch node or a FlipFlop node.

Also please mark the answer as solution to the problem if it was helpfull. This will prevent the question to appear as unanswered in the Answerhub