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.
Any help is much appreciated, thank you :slight_smile: