# User defined python variable

**URL:** https://discourse.paraview.org/t/user-defined-python-variable/7050
**Category:** Feature Requests
**Created:** [April 22, 2021, 6:41pm UTC](https://discourse.paraview.org/t/user-defined-python-variable/7050 "2021-04-22T18:41:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 22, 2021, 6:41pm UTC](https://discourse.paraview.org/t/user-defined-python-variable/7050/1 "2021-04-22T18:41:53Z")

</div>

From a user voice [request](https://paraview.uservoice.com/forums/11350-general/suggestions/1149661-provide-some-kind-of-global-variable-definition)

# provide some kind of global variable definition

Often I’d like to have a “global variable”, so that I can change a value at only one position, which is referenced by several filters, including Python programmable filters/sources.  
The smartest thing would be, to have a slider widget, with which I could interactively change the value of this variable and so could examine different stages/points of view/slices… (depends on how I used the variable) of the dataset.
