I have two sprite.
Player and sword.
If the player sprite moving that also can moving sword.
Sory for my english.
I dont want use family.
A want a child object.
Develop games in your browser. Powerful, performant & highly capable.
Try pin-behaviour on the sword and pin it to your player..