How to capture gameplay with menus ?

Hello there,

I’m fairly new to all of this , i am trying to capture some gameplay footage , i want to be able to capture widgets and menu , i tried using sequencer but i don’t think its possible at least from what i’ve come to learn about , i tried using a matinee but it would let me use my mouse to operate through any of my widgets, can anyone help or point me in the right direction?

Thank you very much.