Get collider from compound at root entity?

I have a compound collider and I would like to obtain the collider that represents the physics shape attached to the root entity, can anyone enlighten me?

Root Entity
| - body
| - shape <= looking for this one

  • Child Entity
  • shape

collider->GetLeaf(new ColliderKey(1, 0), out var c))