How to access and change FlipBook in c++?

Hello, i’m new to unreal engine, i need a way to access the character sprite in c++, and then change it.

From your character class, you can access the flipbook through GetSprite(), which returns a UPaperFlipbookComponent*. From there you can use SetFlipbook() to pass in a new one.

I haven’t had to load assets through C++ much, but this page looks it shows how to get a reference to your new flipbook: Referencing Assets | Unreal Engine Documentation