at half mast

[at half mast] {prep. phr.} Halfway up or down; referring primarily to flag posts, but may be used jokingly.

When a president of the United States dies, all flags are flown at half mast.