I've tried making enemies which compose of body, hair, shirt and pants sprites. When spawned all sprites are pinned to the body and randomised and coloured to make different looking enemies. The body is in a container with the other sprites. The problem is animating the enemies, only the body has the platform behaviour which is 'controlled' by the a.i. events. Setting the movement animations for the enemies is reliant on the platform x vector speed. I thought because the sprites were in a container with the body if I tested for the sprites 'speed' relative to the bodies speed it would work but it didn't. Does anyone have any idea how to pair a certain body to the 'sprites' on it so I can control its animations?