World to GUI space coordinate translation (SOLVED)

How to position a GUI box, with orthoScale value of rendercam camera set to 0.6, so that it’s positioned over a given game object inside a collection?
Thx.

rendercam.world_to_screen(pos, [adjust]) should do it.

2 Likes

rendercam.world_to_screen in combination with rendercam.screen_to_gui gives expected result. Thx for feedback Ross.
Fixed.

1 Like