--- title: "system.nav.centerWindow" description: "Given a window path, or a reference to a window itself, it will center the window." --- # system.nav.centerWindow > Given a window path, or a reference to a window itself, it will center the window. This function is used in **Python Scripting**. ## Description Given a window path, or a reference to a window itself, it will center the window. The window should be floating an non-maximized. If the window can't be found, this function will do nothing. ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax #1 `system.nav.centerWindow(windowPath)` ### Parameters |Type|Parameter|Description| |--|--|--| |String| `windowPath`|The path of the window to center.| ### Returns Nothing ### Scope All ## Syntax #2 `system.nav.centerWindow(window)` ### Parameters |Type|Parameter|Description| |--|--|--| |FPMIWindow |`window` | A reference to the window to center.| ### Returns Nothing ### Scope All ## Code Examples ```python title="Code Snippet" # This example centers the window named 'Overview'. system.nav.centerWindow('Overview') ```