ProjectSettings

Inherits: Object

Contains global variables accessible from everywhere.

Description

Contains global variables accessible from everywhere. Use get_setting, set_setting or has_setting to access them. Variables stored in project.godot are also loaded into ProjectSettings, making this object very useful for reading custom game configuration options.

When naming a Project Settings property, use the full path to the setting including the category. For example, "application/config/name" for the project name. Category and property names can be viewed in the Project Settings dialog.

Feature tags: Project settings can be overridden for specific platforms and configurations (debug, release, ...) using feature tags.

Overriding: Any project setting can be overridden by creating a file named override.cfg in the project's root directory. This can also be used in exported projects by placing this file in the same directory as the project binary. Overriding will still take the base project settings' feature tags in account. Therefore, make sure to also override the setting with the desired feature tags if you want them to override base project settings on all platforms and configurations.

Properties

String

android/modules

""

Color

application/boot_splash/bg_color

Color( 0.14, 0.14, 0.14, 1 )

bool

application/boot_splash/fullsize

true

String

application/boot_splash/image

""

bool

application/boot_splash/use_filter

true

String

application/config/custom_user_dir_name

""

String

application/config/description

""

String

application/config/icon

""

String

application/config/macos_native_icon

""

String

application/config/name

""

String

application/config/project_settings_override

""

bool

application/config/use_custom_user_dir

false

bool

application/config/use_hidden_project_data_directory

true

String

application/config/windows_native_icon

""

bool

application/run/delta_smoothing

true

bool

application/run/delta_sync_after_draw

false

bool

application/run/disable_stderr

false

bool

application/run/disable_stdout

false

bool

application/run/flush_stdout_on_print

false

bool

application/run/flush_stdout_on_print.debug

true

int

application/run/frame_delay_msec

0

bool

application/run/low_processor_mode

false

int

application/run/low_processor_mode_sleep_usec

6900

String

application/run/main_scene

""

float

audio/channel_disable_threshold_db

-60.0

float

audio/channel_disable_time

2.0

String

audio/default_bus_layout

"res://default_bus_layout.tres"

String

audio/driver

bool

audio/enable_audio_input

false

int

audio/mix_rate

44100

int

audio/mix_rate.web

0

int

audio/output_latency

15

int

audio/output_latency.web

50

int

audio/video_delay_compensation_ms

0

int

compression/formats/gzip/compression_level

-1

int

compression/formats/zlib/compression_level

-1

int

compression/formats/zstd/compression_level

3

bool

compression/formats/zstd/long_distance_matching

false

int

compression/formats/zstd/window_log_size

27

bool

debug/gdscript/completion/autocomplete_setters_and_getters

false

bool

debug/gdscript/warnings/constant_used_as_function

true

bool

debug/gdscript/warnings/deprecated_keyword

true

bool

debug/gdscript/warnings/enable

true

bool

debug/gdscript/warnings/exclude_addons

true

bool

debug/gdscript/warnings/function_conflicts_constant

true

bool

debug/gdscript/warnings/function_conflicts_variable

true

bool

debug/gdscript/warnings/function_may_yield

true

bool

debug/gdscript/warnings/function_used_as_property

true

bool

debug/gdscript/warnings/incompatible_ternary

true

bool

debug/gdscript/warnings/integer_division

true

bool

debug/gdscript/warnings/narrowing_conversion

true

bool

debug/gdscript/warnings/property_used_as_function

true

bool

debug/gdscript/warnings/return_value_discarded

true

bool

debug/gdscript/warnings/shadowed_variable

true

bool

debug/gdscript/warnings/standalone_expression

true

bool

debug/gdscript/warnings/standalone_ternary

true

bool

debug/gdscript/warnings/treat_warnings_as_errors

false

bool

debug/gdscript/warnings/unassigned_variable

true

bool

debug/gdscript/warnings/unassigned_variable_op_assign

true

bool

debug/gdscript/warnings/unreachable_code

true

bool

debug/gdscript/warnings/unsafe_call_argument

false

bool

debug/gdscript/warnings/unsafe_cast

false

bool

debug/gdscript/warnings/unsafe_method_access

false

bool

debug/gdscript/warnings/unsafe_property_access

false

bool

debug/gdscript/warnings/unused_argument

true

bool

debug/gdscript/warnings/unused_class_variable

false

bool

debug/gdscript/warnings/unused_signal

true

bool

debug/gdscript/warnings/unused_variable

true

bool

debug/gdscript/warnings/variable_conflicts_function

true

bool

debug/gdscript/warnings/void_assignment

true

String

debug/settings/crash_handler/message

"Please include this when reporting the bug on https://github.com/godotengine/godot/issues"

int

debug/settings/fps/force_fps

0

int

debug/settings/gdscript/max_call_stack

1024

int

debug/settings/profiler/max_functions

16384

bool

debug/settings/stdout/print_fps

false

bool

debug/settings/stdout/verbose_stdout

false

int

debug/settings/visual_script/max_call_stack

1024

Color

debug/shapes/collision/contact_color

Color( 1, 0.2, 0.1, 0.8 )

bool

debug/shapes/collision/draw_2d_outlines

true

int

debug/shapes/collision/max_contacts_displayed

10000

Color

debug/shapes/collision/shape_color

Color( 0, 0.6, 0.7, 0.42 )

Color

debug/shapes/navigation/disabled_geometry_color

Color( 1, 0.7, 0.1, 0.4 )

Color

debug/shapes/navigation/geometry_color

Color( 0.1, 1, 0.7, 0.4 )

String

display/mouse_cursor/custom_image

""

Vector2

display/mouse_cursor/custom_image_hotspot

Vector2( 0, 0 )

Vector2

display/mouse_cursor/tooltip_position_offset

Vector2( 10, 10 )

bool

display/window/dpi/allow_hidpi

false

bool

display/window/energy_saving/keep_screen_on

true

String

display/window/handheld/orientation

"landscape"

bool

display/window/ios/hide_home_indicator

true

bool

display/window/per_pixel_transparency/allowed

false

bool

display/window/per_pixel_transparency/enabled

false

bool

display/window/size/always_on_top

false

bool

display/window/size/borderless

false

bool

display/window/size/fullscreen

false

int

display/window/size/height

600

bool

display/window/size/resizable

true

int

display/window/size/test_height

0

int

display/window/size/test_width

0

int

display/window/size/width

1024

String

display/window/tablet_driver

bool

display/window/vsync/use_vsync

true

bool

display/window/vsync/vsync_via_compositor

false

String

editor/main_run_args

""

String

editor/script_templates_search_path

"res://script_templates"

PoolStringArray

editor/search_in_file_extensions

PoolStringArray( "gd", "gdshader", "shader" )

int

gui/common/default_scroll_deadzone

0

bool

gui/common/swap_ok_cancel

int

gui/common/text_edit_undo_stack_max_size

1024

String

gui/theme/custom

""

String

gui/theme/custom_font

""

bool

gui/theme/use_hidpi

false

int

gui/timers/incremental_search_max_interval_msec

2000

float

gui/timers/text_edit_idle_detect_sec

3

float

gui/timers/tooltip_delay_sec

0.5

Dictionary

input/ui_accept

Dictionary

input/ui_cancel

Dictionary

input/ui_down

Dictionary

input/ui_end

Dictionary

input/ui_focus_next

Dictionary

input/ui_focus_prev

Dictionary

input/ui_home

Dictionary

input/ui_left

Dictionary

input/ui_page_down

Dictionary

input/ui_page_up

Dictionary

input/ui_right

Dictionary

input/ui_select

Dictionary

input/ui_up

bool

input_devices/buffering/agile_event_flushing

false

bool

input_devices/pointing/emulate_mouse_from_touch

true

bool

input_devices/pointing/emulate_touch_from_mouse

false

float

input_devices/pointing/ios/touch_delay

0.15

String

layer_names/2d_physics/layer_1

""

String

layer_names/2d_physics/layer_10

""

String

layer_names/2d_physics/layer_11

""

String

layer_names/2d_physics/layer_12

""

String

layer_names/2d_physics/layer_13

""

String

layer_names/2d_physics/layer_14

""

String

layer_names/2d_physics/layer_15

""

String

layer_names/2d_physics/layer_16

""

String

layer_names/2d_physics/layer_17

""

String

layer_names/2d_physics/layer_18

""

String

layer_names/2d_physics/layer_19

""

String

layer_names/2d_physics/layer_2

""

String

layer_names/2d_physics/layer_20

""

String

layer_names/2d_physics/layer_21

""

String

layer_names/2d_physics/layer_22

""

String

layer_names/2d_physics/layer_23

""

String

layer_names/2d_physics/layer_24

""

String

layer_names/2d_physics/layer_25

""

String

layer_names/2d_physics/layer_26

""

String

layer_names/2d_physics/layer_27

""

String

layer_names/2d_physics/layer_28

""

String

layer_names/2d_physics/layer_29

""

String

layer_names/2d_physics/layer_3

""

String

layer_names/2d_physics/layer_30

""

String

layer_names/2d_physics/layer_31

""

String

layer_names/2d_physics/layer_32

""

String

layer_names/2d_physics/layer_4

""

String

layer_names/2d_physics/layer_5

""

String

layer_names/2d_physics/layer_6

""

String

layer_names/2d_physics/layer_7

""

String

layer_names/2d_physics/layer_8

""

String

layer_names/2d_physics/layer_9

""

String

layer_names/2d_render/layer_1

""

String

layer_names/2d_render/layer_10

""

String

layer_names/2d_render/layer_11

""

String

layer_names/2d_render/layer_12

""

String

layer_names/2d_render/layer_13

""

String

layer_names/2d_render/layer_14

""

String

layer_names/2d_render/layer_15

""

String

layer_names/2d_render/layer_16

""

String

layer_names/2d_render/layer_17

""

String

layer_names/2d_render/layer_18

""

String

layer_names/2d_render/layer_19

""

String

layer_names/2d_render/layer_2

""

String

layer_names/2d_render/layer_20

""

String

layer_names/2d_render/layer_3

""

String

layer_names/2d_render/layer_4

""

String

layer_names/2d_render/layer_5

""

String

layer_names/2d_render/layer_6

""

String

layer_names/2d_render/layer_7

""

String

layer_names/2d_render/layer_8

""

String

layer_names/2d_render/layer_9

""

String

layer_names/3d_physics/layer_1

""

String

layer_names/3d_physics/layer_10

""

String

layer_names/3d_physics/layer_11

""

String

layer_names/3d_physics/layer_12

""

String

layer_names/3d_physics/layer_13

""

String

layer_names/3d_physics/layer_14

""

String

layer_names/3d_physics/layer_15

""

String

layer_names/3d_physics/layer_16

""

String

layer_names/3d_physics/layer_17

""

String

layer_names/3d_physics/layer_18

""

String

layer_names/3d_physics/layer_19

""

String

layer_names/3d_physics/layer_2

""

String

layer_names/3d_physics/layer_20

""

String

layer_names/3d_physics/layer_21

""

String

layer_names/3d_physics/layer_22

""

String

layer_names/3d_physics/layer_23

""

String

layer_names/3d_physics/layer_24

""

String

layer_names/3d_physics/layer_25

""

String

layer_names/3d_physics/layer_26

""

String

layer_names/3d_physics/layer_27

""

String

layer_names/3d_physics/layer_28

""

String

layer_names/3d_physics/layer_29

""

String

layer_names/3d_physics/layer_3

""

String

layer_names/3d_physics/layer_30

""

String

layer_names/3d_physics/layer_31

""

String

layer_names/3d_physics/layer_32

""

String

layer_names/3d_physics/layer_4

""

String

layer_names/3d_physics/layer_5

""

String

layer_names/3d_physics/layer_6

""

String

layer_names/3d_physics/layer_7

""

String

layer_names/3d_physics/layer_8

""

String

layer_names/3d_physics/layer_9

""

String

layer_names/3d_render/layer_1

""

String

layer_names/3d_render/layer_10

""

String

layer_names/3d_render/layer_11

""

String

layer_names/3d_render/layer_12

""

String

layer_names/3d_render/layer_13

""

String

layer_names/3d_render/layer_14

""

String

layer_names/3d_render/layer_15

""

String

layer_names/3d_render/layer_16

""

String

layer_names/3d_render/layer_17

""

String

layer_names/3d_render/layer_18

""

String

layer_names/3d_render/layer_19

""

String

layer_names/3d_render/layer_2

""

String

layer_names/3d_render/layer_20

""

String

layer_names/3d_render/layer_3

""

String

layer_names/3d_render/layer_4

""

String

layer_names/3d_render/layer_5

""

String

layer_names/3d_render/layer_6

""

String

layer_names/3d_render/layer_7

""

String

layer_names/3d_render/layer_8

""

String

layer_names/3d_render/layer_9

""

String

locale/fallback

"en"

String

locale/test

""

bool

logging/file_logging/enable_file_logging

false

bool

logging/file_logging/enable_file_logging.pc

true

String

logging/file_logging/log_path

"user://logs/godot.log"

int

logging/file_logging/max_log_files

5

int

memory/limits/command_queue/multithreading_queue_size_kb

256

int

memory/limits/message_queue/max_size_kb

4096

int

memory/limits/multithreaded_server/rid_pool_prealloc

60

int

network/limits/debugger_stdout/max_chars_per_second

2048

int

network/limits/debugger_stdout/max_errors_per_second

100

int

network/limits/debugger_stdout/max_messages_per_frame

10

int

network/limits/debugger_stdout/max_warnings_per_second

100

int

network/limits/packet_peer_stream/max_buffer_po2

16

int

network/limits/tcp/connect_timeout_seconds

30

int

network/limits/webrtc/max_channel_in_buffer_kb

64

int

network/limits/websocket_client/max_in_buffer_kb

64

int

network/limits/websocket_client/max_in_packets

1024

int

network/limits/websocket_client/max_out_buffer_kb

64

int

network/limits/websocket_client/max_out_packets

1024

int

network/limits/websocket_server/max_in_buffer_kb

64

int

network/limits/websocket_server/max_in_packets

1024

int

network/limits/websocket_server/max_out_buffer_kb

64

int

network/limits/websocket_server/max_out_packets

1024

int

network/remote_fs/page_read_ahead

4

int

network/remote_fs/page_size

65536

String

network/ssl/certificates

""

int

node/name_casing

0

int

node/name_num_separator

0

int

physics/2d/bp_hash_table_size

4096

int

physics/2d/cell_size

128

float

physics/2d/default_angular_damp

1.0

int

physics/2d/default_gravity

98

Vector2

physics/2d/default_gravity_vector

Vector2( 0, 1 )

float

physics/2d/default_linear_damp

0.1

int

physics/2d/large_object_surface_threshold_in_cells

512

String

physics/2d/physics_engine

"DEFAULT"

float

physics/2d/sleep_threshold_angular

0.139626

float

physics/2d/sleep_threshold_linear

2.0

int

physics/2d/thread_model

1

float

physics/2d/time_before_sleep

0.5

bool

physics/2d/use_bvh

true

bool

physics/3d/active_soft_world

true

float

physics/3d/default_angular_damp

0.1

float

physics/3d/default_gravity

9.8

Vector3

physics/3d/default_gravity_vector

Vector3( 0, -1, 0 )

float

physics/3d/default_linear_damp

0.1

bool

physics/3d/godot_physics/use_bvh

true

String

physics/3d/physics_engine

"DEFAULT"

bool

physics/common/enable_object_picking

true

bool

physics/common/enable_pause_aware_picking

false

int

physics/common/physics_fps

60

float

physics/common/physics_jitter_fix

0.5

int

rendering/2d/opengl/batching_send_null

0

int

rendering/2d/opengl/batching_stream

0

int

rendering/2d/opengl/legacy_orphan_buffers

0

int

rendering/2d/opengl/legacy_stream

0

int

rendering/2d/options/ninepatch_mode

1

bool

rendering/2d/options/use_nvidia_rect_flicker_workaround

false

bool

rendering/2d/options/use_software_skinning

true

bool

rendering/2d/snapping/use_gpu_pixel_snap

false

bool

rendering/batching/debug/diagnose_frame

false

bool

rendering/batching/debug/flash_batching

false

int

rendering/batching/lights/max_join_items

32

float

rendering/batching/lights/scissor_area_threshold

1.0

bool

rendering/batching/options/single_rect_fallback

false

bool

rendering/batching/options/use_batching

true

bool

rendering/batching/options/use_batching_in_editor

true

int

rendering/batching/parameters/batch_buffer_size

16384

float

rendering/batching/parameters/colored_vertex_format_threshold

0.25

int

rendering/batching/parameters/item_reordering_lookahead

4

int

rendering/batching/parameters/max_join_item_commands

16

bool

rendering/batching/precision/uv_contract

false

int

rendering/batching/precision/uv_contract_amount

100

int

rendering/cpu_lightmapper/quality/high_quality_ray_count

512

int

rendering/cpu_lightmapper/quality/low_quality_ray_count

64

int

rendering/cpu_lightmapper/quality/medium_quality_ray_count

256

int

rendering/cpu_lightmapper/quality/ultra_quality_ray_count

1024

Color

rendering/environment/default_clear_color

Color( 0.3, 0.3, 0.3, 1 )

String

rendering/environment/default_environment

""

bool

rendering/gles2/compatibility/disable_half_float

false

bool

rendering/gles2/compatibility/disable_half_float.iOS

true

bool

rendering/gles2/compatibility/enable_high_float.Android

false

int

rendering/limits/buffers/blend_shape_max_buffer_size_kb

4096

int

rendering/limits/buffers/canvas_polygon_buffer_size_kb

128

int

rendering/limits/buffers/canvas_polygon_index_buffer_size_kb

128

int

rendering/limits/buffers/immediate_buffer_size_kb

2048

int

rendering/limits/rendering/max_lights_per_object

32

int

rendering/limits/rendering/max_renderable_elements

65536

int

rendering/limits/rendering/max_renderable_lights

4096

int

rendering/limits/rendering/max_renderable_reflections

1024

float

rendering/limits/time/time_rollover_secs

3600

bool

rendering/misc/lossless_compression/force_png

false

int

rendering/misc/lossless_compression/webp_compression_level

2

bool

rendering/misc/mesh_storage/split_stream

false

int

rendering/misc/occlusion_culling/max_active_spheres

8

bool

rendering/portals/advanced/flip_imported_portals

false

bool

rendering/portals/debug/logging

true

bool

rendering/portals/gameplay/use_signals

true

bool

rendering/portals/optimize/remove_danglers

true

bool

rendering/portals/pvs/pvs_logging

false

bool

rendering/portals/pvs/use_simple_pvs

false

bool

rendering/quality/depth/hdr

true

bool

rendering/quality/depth/hdr.mobile

false

String

rendering/quality/depth_prepass/disable_for_vendors

"PowerVR,Mali,Adreno,Apple"

bool

rendering/quality/depth_prepass/enable

true

int

rendering/quality/directional_shadow/size

4096

int

rendering/quality/directional_shadow/size.mobile

2048

String

rendering/quality/driver/driver_name

"GLES3"

bool

rendering/quality/driver/fallback_to_gles2

false

int

rendering/quality/filters/anisotropic_filter_level

4

int

rendering/quality/filters/msaa

0

float

rendering/quality/filters/sharpen_intensity

0.0

bool

rendering/quality/filters/use_debanding

false

bool

rendering/quality/filters/use_fxaa

false

bool

rendering/quality/filters/use_nearest_mipmap_filter

false

int

rendering/quality/intended_usage/framebuffer_allocation

2

int

rendering/quality/intended_usage/framebuffer_allocation.mobile

3

bool

rendering/quality/lightmapping/use_bicubic_sampling

true

bool

rendering/quality/lightmapping/use_bicubic_sampling.mobile

false

int

rendering/quality/reflections/atlas_size

2048

int

rendering/quality/reflections/atlas_subdiv

8

bool

rendering/quality/reflections/high_quality_ggx

true

bool

rendering/quality/reflections/high_quality_ggx.mobile

false

int

rendering/quality/reflections/irradiance_max_size

128

bool

rendering/quality/reflections/texture_array_reflections

true

bool

rendering/quality/reflections/texture_array_reflections.mobile

false

bool

rendering/quality/shading/force_blinn_over_ggx

false

bool

rendering/quality/shading/force_blinn_over_ggx.mobile

true

bool

rendering/quality/shading/force_lambert_over_burley

false

bool

rendering/quality/shading/force_lambert_over_burley.mobile

true

bool

rendering/quality/shading/force_vertex_shading

false

bool

rendering/quality/shading/force_vertex_shading.mobile

true

bool

rendering/quality/shading/use_physical_light_attenuation

false

int

rendering/quality/shadow_atlas/cubemap_size

512

int

rendering/quality/shadow_atlas/quadrant_0_subdiv

1

int

rendering/quality/shadow_atlas/quadrant_1_subdiv

2

int

rendering/quality/shadow_atlas/quadrant_2_subdiv

3

int

rendering/quality/shadow_atlas/quadrant_3_subdiv

4

int

rendering/quality/shadow_atlas/size

4096

int

rendering/quality/shadow_atlas/size.mobile

2048

int

rendering/quality/shadows/filter_mode

1

int

rendering/quality/shadows/filter_mode.mobile

0

bool

rendering/quality/skinning/force_software_skinning

false

bool

rendering/quality/skinning/software_skinning_fallback

true

float

rendering/quality/spatial_partitioning/render_tree_balance

0.0

bool

rendering/quality/spatial_partitioning/use_bvh

true

bool

rendering/quality/subsurface_scattering/follow_surface

false

int

rendering/quality/subsurface_scattering/quality

1

int

rendering/quality/subsurface_scattering/scale

1.0

bool

rendering/quality/subsurface_scattering/weight_samples

true

bool

rendering/quality/voxel_cone_tracing/high_quality

false

int

rendering/threads/thread_model

1

bool

rendering/threads/thread_safe_bvh

false

bool

rendering/vram_compression/import_bptc

false

bool

rendering/vram_compression/import_etc

false

bool

rendering/vram_compression/import_etc2

true

bool

rendering/vram_compression/import_pvrtc

false

bool

rendering/vram_compression/import_s3tc

true

int

world/2d/cell_size

100

Methods

void

add_property_info ( Dictionary hint )

void

clear ( String name )

int

get_order ( String name ) const

Variant

get_setting ( String name ) const

String

globalize_path ( String path ) const

bool

has_setting ( String name ) const

bool

load_resource_pack ( String pack, bool replace_files=true, int offset=0 )

String

localize_path ( String path ) const

bool

property_can_revert ( String name )

Variant

property_get_revert ( String name )

Error

save ( )

Error

save_custom ( String file )

void

set_initial_value ( String name, Variant value )

void

set_order ( String name, int position )

void

set_setting ( String name, Variant value )

Property Descriptions

Default

""

Comma-separated list of custom Android modules (which must have been built in the Android export templates) using their Java package path, e.g. "org/godotengine/godot/MyCustomSingleton,com/example/foo/FrenchFriesFactory".

Note: Since Godot 3.2.2, the org/godotengine/godot/GodotPaymentV3 module was deprecated and replaced by the GodotPayment plugin which should be enabled in the Android export preset under Plugins section. The singleton to access in code was also renamed to GodotPayment.


  • Color application/boot_splash/bg_color

Default

Color( 0.14, 0.14, 0.14, 1 )

Background color for the boot splash.


  • bool application/boot_splash/fullsize

Default

true

If true, scale the boot splash image to the full window length when engine starts. If false, the engine will leave it at the default pixel size.


  • String application/boot_splash/image

Default

""

Path to an image used as the boot splash.


  • bool application/boot_splash/use_filter

Default

true

If true, applies linear filtering when scaling the image (recommended for high resolution artwork). If false, uses nearest-neighbor interpolation (recommended for pixel art).


  • String application/config/custom_user_dir_name

Default

""

This user directory is used for storing persistent data (user:// filesystem). If left empty, user:// resolves to a project-specific folder in Godot's own configuration folder (see OS.get_user_data_dir). If a custom directory name is defined, this name will be used instead and appended to the system-specific user data directory (same parent folder as the Godot configuration folder documented in OS.get_user_data_dir).

The application/config/use_custom_user_dir setting must be enabled for this to take effect.


  • String application/config/description

Default

""

The project's description, displayed as a tooltip in the Project Manager when hovering the project.


  • String application/config/icon

Default

""

Icon used for the project, set when project loads. Exporters will also use this icon when possible.


  • String application/config/macos_native_icon

Default

""

Icon set in .icns format used on macOS to set the game's icon. This is done automatically on start by calling OS.set_native_icon.


  • String application/config/name

Default

""

The project's name. It is used both by the Project Manager and by exporters. The project name can be translated by translating its value in localization files. The window title will be set to match the project name automatically on startup.

Note: Changing this value will also change the user data folder's path if application/config/use_custom_user_dir is false. After renaming the project, you will no longer be able to access existing data in user:// unless you rename the old folder to match the new project name. See Data paths in the documentation for more information.


  • String application/config/project_settings_override

Default

""

Specifies a file to override project settings. For example: user://custom_settings.cfg. See "Overriding" in the ProjectSettings class description at the top for more information.

Note: Regardless of this setting's value, res://override.cfg will still be read to override the project settings.


  • bool application/config/use_custom_user_dir

Default

false

If true, the project will save user data to its own user directory (see application/config/custom_user_dir_name). This setting is only effective on desktop platforms. A name must be set in the application/config/custom_user_dir_name setting for this to take effect. If false, the project will save user data to (OS user data directory)/Godot/app_userdata/(project name).


  • bool application/config/use_hidden_project_data_directory

Default

true

If true, the project will use a hidden directory (.import) for storing project-specific data (metadata, shader cache, etc.).

If false, a non-hidden directory (import) will be used instead.

Note: Restart the application after changing this setting.

Note: Changing this value can help on platforms or with third-party tools where hidden directory patterns are disallowed. Only modify this setting if you know that your environment requires it, as changing the default can impact compatibility with some external tools or plugins which expect the default .import folder.


  • String application/config/windows_native_icon

Default

""

Icon set in .ico format used on Windows to set the game's icon. This is done automatically on start by calling OS.set_native_icon.


  • bool application/run/delta_smoothing

Default

true

Time samples for frame deltas are subject to random variation introduced by the platform, even when frames are displayed at regular intervals thanks to V-Sync. This can lead to jitter. Delta smoothing can often give a better result by filtering the input deltas to correct for minor fluctuations from the refresh rate.

Note: Delta smoothing is only attempted when display/window/vsync/use_vsync is switched on, as it does not work well without V-Sync.

It may take several seconds at a stable frame rate before the smoothing is initially activated. It will only be active on machines where performance is adequate to render frames at the refresh rate.


  • bool application/run/delta_sync_after_draw

Default

false

Experimental. Shifts the measurement of delta time for each frame to just after the drawing has taken place. This may lead to more consistent deltas and a reduction in frame stutters.


  • bool application/run/disable_stderr

Default

false

If true, disables printing to standard error. If true, this also hides error and warning messages printed by @GDScript.push_error and @GDScript.push_warning. See also application/run/disable_stdout.

Changes to this setting will only be applied upon restarting the application.


  • bool application/run/disable_stdout

Default

false

If true, disables printing to standard output. This is equivalent to starting the editor or project with the --quiet command line argument. See also application/run/disable_stderr.

Changes to this setting will only be applied upon restarting the application.


  • bool application/run/flush_stdout_on_print

Default

false

If true, flushes the standard output stream every time a line is printed. This affects both terminal logging and file logging.

When running a project, this setting must be enabled if you want logs to be collected by service managers such as systemd/journalctl. This setting is disabled by default on release builds, since flushing on every printed line will negatively affect performance if lots of lines are printed in a rapid succession. Also, if this setting is enabled, logged files will still be written successfully if the application crashes or is otherwise killed by the user (without being closed "normally").

Note: Regardless of this setting, the standard error stream (stderr) is always flushed when a line is printed to it.

Changes to this setting will only be applied upon restarting the application.


  • bool application/run/flush_stdout_on_print.debug

Default

true

Debug build override for application/run/flush_stdout_on_print, as performance is less important during debugging.

Changes to this setting will only be applied upon restarting the application.


  • int application/run/frame_delay_msec

Default

0

Forces a delay between frames in the main loop (in milliseconds). This may be useful if you plan to disable vertical synchronization.


  • bool application/run/low_processor_mode

Default

false

If true, enables low-processor usage mode. This setting only works on desktop platforms. The screen is not redrawn if nothing changes visually. This is meant for writing applications and editors, but is pretty useless (and can hurt performance) in most games.


  • int application/run/low_processor_mode_sleep_usec

Default

6900

Amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU usage.


  • String application/run/main_scene

Default

""

Path to the main scene file that will be loaded when the project runs.


  • float audio/channel_disable_threshold_db

Default

-60.0

Audio buses will disable automatically when sound goes below a given dB threshold for a given time. This saves CPU as effects assigned to that bus will no longer do any processing.


  • float audio/channel_disable_time

Default

2.0

Audio buses will disable automatically when sound goes below a given dB threshold for a given time. This saves CPU as effects assigned to that bus will no longer do any processing.


  • String audio/default_bus_layout

Default

"res://default_bus_layout.tres"

Default AudioBusLayout resource file to use in the project, unless overridden by the scene.


Specifies the audio driver to use. This setting is platform-dependent as each platform supports different audio drivers. If left empty, the default audio driver will be used.


  • bool audio/enable_audio_input

Default

false

If true, microphone input will be allowed. This requires appropriate permissions to be set when exporting to Android or iOS.


  • int audio/mix_rate

Default

44100

The mixing rate used for audio (in Hz). In general, it's better to not touch this and leave it to the host operating system.


  • int audio/mix_rate.web

Default

0

Safer override for audio/mix_rate in the Web platform. Here 0 means "let the browser choose" (since some browsers do not like forcing the mix rate).


  • int audio/output_latency

Default

15

Specifies the preferred output latency in milliseconds for audio. Lower values will result in lower audio latency at the cost of increased CPU usage. Low values may result in audible cracking on slower hardware.

Audio output latency may be constrained by the host operating system and audio hardware drivers. If the host can not provide the specified audio output latency then Godot will attempt to use the nearest latency allowed by the host. As such you should always use AudioServer.get_output_latency to determine the actual audio output latency.

Note: This setting is ignored on Windows.


  • int audio/output_latency.web

Default

50

Safer override for audio/output_latency in the Web platform, to avoid audio issues especially on mobile devices.


  • int audio/video_delay_compensation_ms

Default

0

Setting to hardcode audio delay when playing video. Best to leave this untouched unless you know what you are doing.


  • int compression/formats/gzip/compression_level

Default

-1

The default compression level for gzip. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. -1 uses the default gzip compression level, which is identical to 6 but could change in the future due to underlying zlib updates.


  • int compression/formats/zlib/compression_level

Default

-1

The default compression level for Zlib. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. -1 uses the default gzip compression level, which is identical to 6 but could change in the future due to underlying zlib updates.


  • int compression/formats/zstd/compression_level

Default

3

The default compression level for Zstandard. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level.


  • bool compression/formats/zstd/long_distance_matching

Default

false

Enables long-distance matching in Zstandard.


  • int compression/formats/zstd/window_log_size

Default

27

Largest size limit (in power of 2) allowed when compressing using long-distance matching with Zstandard. Higher values can result in better compression, but will require more memory when compressing and decompressing.


  • bool debug/gdscript/completion/autocomplete_setters_and_getters

Default

false

If true, displays getters and setters in autocompletion results in the script editor. This setting is meant to be used when porting old projects (Godot 2), as using member variables is the preferred style from Godot 3 onwards.


  • bool debug/gdscript/warnings/constant_used_as_function

Default

true

If true, enables warnings when a constant is used as a function.


  • bool debug/gdscript/warnings/deprecated_keyword

Default

true

If true, enables warnings when deprecated keywords such as slave are used.


  • bool debug/gdscript/warnings/enable

Default

true

If true, enables specific GDScript warnings (see debug/gdscript/warnings/* settings). If false, disables all GDScript warnings.


  • bool debug/gdscript/warnings/exclude_addons

Default

true

If true, scripts in the res://addons folder will not generate warnings.


  • bool debug/gdscript/warnings/function_conflicts_constant

Default

true

If true, enables warnings when a function is declared with the same name as a constant.


  • bool debug/gdscript/warnings/function_conflicts_variable

Default

true

If true, enables warnings when a function is declared with the same name as a variable. This will turn into an error in a future version when first-class functions become supported in GDScript.


  • bool debug/gdscript/warnings/function_may_yield

Default

true

If true, enables warnings when a function assigned to a variable may yield and return a function state instead of a value.


  • bool debug/gdscript/warnings/function_used_as_property

Default

true

If true, enables warnings when using a function as if it was a property.


  • bool debug/gdscript/warnings/incompatible_ternary

Default

true

If true, enables warnings when a ternary operator may emit values with incompatible types.


  • bool debug/gdscript/warnings/integer_division

Default

true

If true, enables warnings when dividing an integer by another integer (the decimal part will be discarded).


  • bool debug/gdscript/warnings/narrowing_conversion

Default

true

If true, enables warnings when passing a floating-point value to a function that expects an integer (it will be converted and lose precision).


  • bool debug/gdscript/warnings/property_used_as_function

Default

true

If true, enables warnings when using a property as if it was a function.


  • bool debug/gdscript/warnings/return_value_discarded

Default

true

If true, enables warnings when calling a function without using its return value (by assigning it to a variable or using it as a function argument). Such return values are sometimes used to denote possible errors using the Error enum.


  • bool debug/gdscript/warnings/shadowed_variable

Default

true

If true, enables warnings when defining a local or subclass member variable that would shadow a variable at an upper level (such as a member variable).


  • bool debug/gdscript/warnings/standalone_expression

Default

true

If true, enables warnings when calling an expression that has no effect on the surrounding code, such as writing 2 + 2 as a statement.


  • bool debug/gdscript/warnings/standalone_ternary

Default

true

If true, enables warnings when calling a ternary expression that has no effect on the surrounding code, such as writing 42 if active else 0 as a statement.


  • bool debug/gdscript/warnings/treat_warnings_as_errors

Default

false

If true, all warnings will be reported as if they were errors.