Is it possible to create a game window that is horizontally, vertically, or fully maximized, similar to the game Rusty Retirement?

Godot Version

`4.3

Question

Hello everyone,
I’d like to know if it’s possible to achieve the following with the engine:

Position the game window to occupy one-third of the desktop screen either horizontally or vertically, or adjust the occupied size dynamically.
Add an option to keep the game window always on top.
Does anyone know how to implement these features, similar to the window behavior in Rusty Retirement?

Thank you for your help!