Skip to main content
Version: 2.x

Responding to setting changes

Setting changes can be handled in two ways: put the response on the Setting Type with a binding strategy, or register a listener that subscribes and unsubscribes from one setting.

For Unreal console variable callbacks, see Responding to console variable changes.

Option 1: Use a binding strategy

Use a binding strategy when the Setting Type should always apply its value to a target system. Binding strategies run when the setting value is applied and keep the registry value synchronized with that target.

Option 2: Subscribe to a setting

Use an applied value callback when a separate Blueprint or object needs updates from one setting.

Call Register Applied Value Changed Callback on the registry that owns the setting. When the listener no longer needs updates, call Remove Applied Value Changed Callback with the same registry and setting key.

Blueprint example for a global setting:

Register the callback and handle it:

For player settings, use AutoSettingsPlayerSubsystemGet Player Setting Registry instead.

Set Replay Current Value to true when the callback should run immediately with the current value.