https://www.bbc.com/news/articles/cxeejp0y2pjo
During the descent, an autonomous visual obstacle avoidance system was used to automatically detect obstacles, with a visible light camera selecting a comparatively safe landing area based on the brightness and darkness of the lunar surface, the CNSA was quoted as saying by state-run Xinhua news agency.
The lander hovered about 100m (328ft) above the safe landing area, and used a laser 3D scanner before a slow vertical descent.
That's super neat. When the floodlights came on I figured it was just doing it for the clarity of the footage before a preset landing sequence started. Have any of the Mars probes had such sophisticated real-time landing systems?