It appears when:
1. draw the line onto an element, either end-points or the whole line.
2. drag the end-points or the whole line onto an element.
3. use Align command to lock the end-points or the whole line onto an element.
It also appears when it's locked onto something after you select it.
https://youtu.be/Yos1J7-K3KU