without knowing your exact goal its hard to tell you exactly what to do but ill post a example of a movement component i made and post a link to a tutorial for child actor components.
the picture is a very basic script in a child actor component to move the pawn its attached to to a random location. i can take this actor and just iattach it to any pawn and that pawn will begin roaming.
[Unreal Tutorial][2]