How to get screen coordinates of a nested Rive element in SwiftUI (Responsive Layout)?

I need to overlay a SwiftUI Text view exactly on top of a nested element inside a Rive animation.

Context:

  • My Rive view uses .fit(.layout), so the artboard scales and centers dynamically on different screen sizes.

  • The target element is nested deep in groups/rows.

  • I created a root-level "Ghost Node" in Rive constrained to the target to track its world position.

The Problem: I cannot access the Ghost node's position at runtime to convert it to SwiftUI coordinates.