Recording video during gameplay with a keypress?

Hello! I am working on creating a film camera in game but I am having trouble finding a way to record gameplay with a keypress. Ive looked into matinee stuff but if I’m not mistake that seems to only be for in-editor recording?