Gov. Andy Beshear has ordered flags at all state buildings to be lowered to half-staff from sunrise to sunset on Thursday.