Difference key between two inputs: builds a mask from per-channel RGB deltas and optionally replaces A with B where they diverge.
Common Key compares inputs A and B per RGB channel. Where the absolute difference meets or exceeds the threshold on any channel, those pixels are marked in the output alpha.
With alphaOnly off, RGB is taken from B on masked pixels and from A elsewhere, so you can pull differing regions from B into A’s plate. With alphaOnly on, RGB passes through from B and only the difference mask is written to alpha.
Use it to isolate changes between two similar frames, versions, or passes, then tune threshold to control how small a delta counts as a hit.