Programming the MotionBlur filter
The MotionBlur filter comes with 3 scriptable properties:
These properties exist via the "filters" object of the applied element. For example:
We use "filters" because the object is an array. And since only one filter- namely, MotionBlur- is defined, the index "0" is used to gain access to it.
Here's a simple example that dynamically changes the direction of MotionBlur as the images moves about horizontally: