# Latch

Stores (latches) an input value on the specified event.

Inputs

Parameter | Description
Event | Specifies the update event on which to read the Value. This parameter must be a reference to one of the following: The Image data structure in cell A1 . A cell containing Button function.
Value | A reference to the cell containing the data to store. Allowed data types are bool, int, or float.

Outputs

Returns | The value stored on the last event.

## Related Topics

Clocked Data Storage Functions