Saving settings inside the game, and loading at startup

the ConfigFile must also call .load to load from your save file, such as on ready.

You cannot save to “res://” in exported projects, so it’s best to change that to “user://” now before it catches you off-guard when releasing

const SAVE_LOCATION = "user://SAVES/settings.cfg"
func _ready() -> void:
    settings.load(SAVE_LOCATION)
    resolution_index = settings.get_value("Graphic","Resolution")
    #...

func _on_back_fs_pressed() -> void:
    #...
    settings.save(SAVE_LOCATION)

Make sure to format code pastes between three back-ticks ```