({{, (RefLink[LocalizeVariables, paclet:ref/LocalizeVariables]) 
is an option to (RefLink[Manipulate, paclet:ref/Manipulate]) that determines whether the values of variables associated with controls should be localized.}})

OpenersNotesSection(Spacer1)Details

With the default setting (RefLink[LocalizeVariables, paclet:ref/LocalizeVariables])->(RefLink[True, paclet:ref/True]), (RefLink[DynamicModule, paclet:ref/DynamicModule]) is used to localize variables to each displayed instance of the (RefLink[Manipulate, paclet:ref/Manipulate]) expression.

With (RefLink[LocalizeVariables, paclet:ref/LocalizeVariables])->(RefLink[False, paclet:ref/False]), the variables are treated as global, and can be set and accessed outside the (RefLink[Manipulate, paclet:ref/Manipulate]) expression.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

By default, (RefLink[Manipulate, paclet:ref/Manipulate]) variables are localized:

{Manipulate[u,{u,0,1}],Dynamic[u]}

By disabling (RefLink[LocalizeVariables, paclet:ref/LocalizeVariables]), the variables are treated as global:

{Manipulate[x,{x,0,1},LocalizeVariables->False],Dynamic[x]}

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DynamicModule, paclet:ref/DynamicModule])  ▪  (RefLink[With, paclet:ref/With])  ▪  (RefLink[SaveDefinitions, paclet:ref/SaveDefinitions])  ▪  (RefLink[Initialization, paclet:ref/Initialization])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Gamepad & Device Interface, paclet:guide/GamepadAndDeviceInterface])}, {▪(RefLinkPlain[Options & Styling for Interactive Manipulation, paclet:guide/OptionsAndStylingForInteractiveManipulation])}})}})