Documentation

Unity Engine


Unity Engine


relatedTarget

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.
Read time 1 minuteLast updated a month ago

Definition

public IEventHandler relatedTarget { get; }