When a water wave group encounters a floating body, it forces the body into motion; this motion radiates waves that modify the wave group. This study considers a floating body in the form of a two-dimensional (2-D) rectangular block constrained to heaving motion. The focus is on how the 2-D block modifies infragravity (IG) waves, a type of nonlinear low-frequency wave in the wave group. The IG waves transmitted beyond the block comprise two types: (i) bound IG waves generated by nonlinear interactions of first-order carrier waves, and (ii) free IG waves released due to discontinuities in flow potential created by the block. A systematic parameter sweep reveals that, when heaving motion is allowed, the transmitted IG waves differ significantly from those of stationary blocks. In some cases, heaving motion enables attenuation of the total transmitted IG waves, while stationary blocks cannot achieve similar effects. Only small-sized blocks are considered; they are ‘small’ compared with the IG wavelengths. The findings are relevant to dual-purpose wave energy converters designed for energy generation and coastal protection, floating breakwaters and other small-sized floating structures such as ships and some icebergs: the heaving motion of these objects may modify IG waves, thereby influencing harbour resonance, near-shore currents, beach erosion, wave forcing on ice shelves and coastal inundation.