Dynamic DoF(Depth of Field) - Blueprint

Drag from the camera variable and just type set post: