This video demonstrates the use of variables to animate items properties. It can be used to smoothly show or hide an object, or make it move, scale, rotate, etc.
Variables can either be builtin ones (date & time, cpu, battery, storage, etc.) or user defined ones. Variables can either be set using shortcuts and scripts, or externally, for instance from Tasker or other third party apps.