Responding to console variable changes
Console variable changes can be handled by the Blueprint console variable asset that owns the variable, by a Blueprint callback registered for any console variable, or by Unreal's native C++ change tracking.
For Auto Settings registry value changes, see Responding to setting changes.
Option 1: Use a Blueprint console variable asset
Use Event OnChanged when the response belongs to an Auto Settings Blueprint console variable asset. For setup and an example, see Implement the OnChanged event.
Option 2: Register a callback function
Use a callback function when a Blueprint needs to listen to any registered console variable by name.
Use the typed callback function that matches the console variable value type:
Register Bool Console Variable Changed CallbackRegister Int Console Variable Changed CallbackRegister Float Console Variable Changed CallbackRegister String Console Variable Changed Callback
Set Execute Callback to true when the callback should run immediately with the current value.
The console variable can be an engine variable, a Blueprint console variable asset, or another registered console variable. It must already be registered before the callback can be registered.
Register the callback and handle it:
Option 3: Use Unreal C++ change tracking
For native C++ systems, use Unreal's Console Variables C++ documentation for OnChangedCallback / SetOnChangedCallback and console variable sinks.