onPasteEvent

abstract fun onPasteEvent(event: PasteEvent): Boolean

This function is called when a PasteEvent is received by this node, after its children had the chance to handle it. Return true to stop propagation of this event. If you return false, the event will be sent to this PasteModifier's parent.