where is the white light located on a boat
Navigation light To avoid collisions, vessels mount navigation lights that permit other vessels to determine the type and relative angle of a vessel, and thus decide if there is a danger of collision. In general sailing vessels are required to carry a green light that shines from dead ahead to 2 points (​22 1⁄2°) abaft[note 1] the beam on the starboard side (the right side from the perspective of someone on board facing forward), a red light from dead ahead to two points abaft the beam on the port side (left side) and a white light that shines from astern to two points abaft the beam on both sides. Power driven vessels, in addition to these lights, must carry either one or two (depending on length) white masthead lights that shine from ahead to two points abaft the beam on both sides. If two masthead lights are carried then the aft one must be higher than the forward one.[2] Hovercraft at all times and some boats operating in crowded areas may also carry a yellow flashing beacon for added visibility during day or night.
Maritime flag Ensigns are usually required to be flown when entering and leaving harbour, when sailing through foreign waters, and when the ship is signalled to do so by a warship. Warships usually fly their ensigns between the morning colours ceremony and sunset when moored or at anchor, at all times when underway, and at all times when engaged in battleâ€”the "battle ensign". When engaged in battle a warship often flies multiple battle ensigns. This tradition dates from the era of sailing vessels. Tradition dictated that if a ship lowered its ensign it was deemed to have surrendered. Masts were targets of gunfire, and the second and subsequent ensigns were flown in order to keep the ensign flying even after a mast hit.