Event&Layers own system on Java. There is sandbox for testing features with two layers. Each has own draggable rect. Try it yourself!