is an option for Manipulate controls that specifies functions to use during interactive changing or editing.


  • TrackingFunction gives access to the second argument of Dynamic in the underlying control.
  • The Manipulate argument represents a control that continually evaluates during interactive changing or editing of val.
  • The default setting of TrackingFunction is equivalent to .
  • TrackingFunction can be set to a function or a list of up to three functions.
  • For interactive mouse operations, TrackingFunction->{fstart,f,fend} typically evaluates once when the mouse is pressed, then evaluates whenever the mouse is moved, and then evaluates once the mouse is released.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

TrackingFunction can be used to set more than one variable at a time:

TrackingFunction can be used to enforce restrictions on a control:

Two-dimensional controls like Locator can be restricted to regions:

Locator tracking functions can make use of CurrentValue["CurrentLocatorPaneThumb"] to enforce different restrictions on different points:

Introduced in 2014
Translate this page: