Will Get Movement Component return the movement component that I've added to my custom Pawn class?

Hi!

I’m creating a class that inherits from Pawn to which I added a Floating Pawn Movement Component:

imagen

If I use Get Movement Component function:

imagen

Will it return the Floating Pawn Movement that I have added to the class?

I’m asking this because I’ve been revising the C++ code for the method APawn::AddMovementInput:

And it uses the method GetMovementComponent to get the MovementComponent, so I don’t know if I have to do something else to set my Floating Pawn Movement component as the movement component to my custom Pawn.

Thanks.