Child to parent object creation

Hi,

What is the best way for a child to create an object in his parent?

For example, I want to create a little effect under my character’s feet when he’s jumping or running.

Thanks for your help!

Can’t you use this?

if (childobject.parent != null) childobject.parent.addChild(newobject);

Thanks! That was so simple… :stuck_out_tongue: