I'm unsure whether I understood your question, but why not just use the align property? Layout (Modifier = Modifier. align(Alignment.TopStart)) The position of a composable is calculated from its initial alignment. I just implemented a BoundingBox to check whether a composable is inside another, and it depends on its initial alignment. We only need to use a Modifier.graphicsLayer { transformOrigin = transformOrigin.copy(0f, 0f) } for the coordinate system's origin when we use rotation or scale.