Handling mouse events with overlapping elements in JavaFX.
The default behavior is trigger events to all nodes through the click. You can disable this by setting blocksMouse: true in the front node.
Full source code and videos in my blog, http://silveiraneto.net.