I created a emy_sprite that can move in eight directions automatically. It serves as a container with blood bars and text in it. But when it moves, the blood bars and text in the container remain in place. I try to pin the objects in the container to the container. But new problems arise:
When I create a new emy_sprite, the position of blood bar and text in the container will be fixed in the center of the container by default, rather than the first place.
My question is: how to fix the position of the objects in the container so that each time a new container is created, the position of the objects in the container will not be in the center by default, but the position visited when the container is initially set.