aha - thank you!
i was confused by the doc page listing visionOS 2.0+ and not indicating the code snippet as pertaining only to macOS.
related :
Is there a way to have the first window appear at the bottom of the screen instead of centered?
thanks again!