Keep the shoes still. Let the square go by.
At the start, both shoes must already be in light. At the end, neither can have left it yet. The solid outline marks what the beginning and end have in common.
If the square moves a distance L at angle φ, its two end positions overlap in a rectangle of width 1−L cos φ and height 1−L sin φ. Its diagonal must be at least the shoe spacing. At a spacing of half a side, the longest passage is √1.25 sides, at about 26.6°: the overlap shrinks to a vertical segment, just long enough for the shoes. A 45° passage lasts only √2−0.5 ≈ 0.914 sides.
A geometry sketch after GPT-6.1 Terra’s The Line for the Chair. A fixed square sliding at constant speed is an idealization; the story doesn’t need it.