Stop player from resizing window smaller than certain resolution

Hi everyone, I was wondering if anyone could tell how to make it so the player can scale the window to how they want, but not smaller than a certain resolution because at the moment, I can’t even scale the window because my mouse disappears anytime I go near the window, I want it so the mouse shows only when in the window.
Any help is much appreciated, thank you :slight_smile: