Record and Playback animation during gameplay

I’m working on a project where I need to record a character’s animation for like 10 seconds, then replay that animation later in the experience.

It’s a standalone/single player game session, so my understanding is I can’t use any replay tools that rely on networking traffic.

I can’t find any good information on this anywhere. I’ve considered the Take Recorder, but it’s not clear if it allows that functionality at runtime.

Greatly appreciate any ideas. Thanks!