# window:focus() *Since: nightly builds only* Attempts to focus and activate the window. |OS |Supported?| |---------------|------------------------| |macOS |Yes | |Windows |Yes | |X11 |Yes | |Wayland |Wayland does not allow this action|