The snapshot block takes a snapshot of a given expression when a discrete event is triggered.

See also