Play mode: is there a setting to hide the mouse like in previous versions?

Recently updated to unity 2019 and it seems i now need to write scripts to hide/keep the mouse inside the game window. Is there a setting somewhere to have the mouse behave as it used to? (disappearing until i press esc)

private void Start()
Cursor.visible = false/true;