LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

IEventHandler.HasCaptureHandlers

public bool HasCaptureHandlers();

Returns

bool True if object has event handlers for the capture phase.

Description

Return true if event handlers for the event propagation capture phase have been attached on this object.