How to generate FrameNode on user's field of view and not x:0, y:0 (default)

How to generate FrameNode on user’s field of view or mouse position and not x:0, y:0 (default)

Please see the developer documentation.