Flatten and Flatten to Average Values tools assign multiple keys with lower values, in effect flattening values.
To flatten all selected keys to the same value as the first key in the selection:
To flatten all selected keys to the average value of all selected keys: