This version of Unity is unsupported.

PointerCaptureEventBase<T0>.relatedTarget

public UIElements.IEventHandler relatedTarget;

Description

For PointerCaptureEvent and MouseCaptureEvent, returns the VisualElement that loses the pointer capture, if any. For PointerCaptureOutEvent and MouseCaptureOutEvent, returns the VisualElement that captures the pointer.