Documentation

Unity Engine


User Manual

Script Reference

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 8 days ago

Definition

public IEventHandler relatedTarget { get; }