What the stopPropagation() means in this code example?

Yep, that is the purpose. When you have multiple scenes running parallel they all will receive input events. If you want to process that input in one scene and stop that event from propagating to the other scenes, that’s when you would call stopPropagation.