How can I make my menu move using grip button of oculus controller similar to how I can move menu in oculus VR room ,

I am trying to learn unreal vr, in oculus there is an option where I can move my menu in vr world using contollers grip button, how can I make something similar to that.