Get Center of Mass of Component

Hi there. The function Get Center of Mass only outputs the center of mass of a single rigid body.

How can I get the Center of Mass of the whole Component? If I don’t input any name in its Bone Name input, it outputs the CoM of the Root body instead of the CoM of the whole Component.