How can I access the Flipbook component of my character from C++. I am attempting to change the flipbook sprites from code, if a condition is true. I have tried looking through GetActorClass and GetComponents and such but I am still unsure of what to do. This->GetActorClass can find all of the components in my blueprint but my flipbook for some reason. My blueprint currently has a Capsule Component, An Arrow Component, A mesh, A camera boom, a follow camera and a paper flipbook.
TArray<UPaperFlipbookComponent*> FlipbookComponents;
void YourClass::OnConstruction(const FTransform& Transform)
{
this->GetComponents(FlipbookComponents);
}