Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

getPositionInRoot

Returns the position of the node relative to the root node.

getPositionInRoot

Source set: Android
public fun SubspaceSemanticsNodeInteraction.getPositionInRoot(): Vector3

Returns the position of the node relative to the root node.

Additional assertions with custom tolerances may be performed on the individual values.

Last updated: