Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isDefaultPrevented

Returns true if the default actions should not be executed for this event.
Read time 1 minuteLast updated 10 days ago

Definition

Warning
Deprecated. Use isPropagationStopped. Before proceeding, make sure you understand the latest changes to UIToolkit event propagation rules by visiting Unity's manual page https://docs.unity3d.com/Manual/UIE-Events-Dispatching.html
public bool isDefaultPrevented { get; }