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.

EventBase.currentTarget

Description

The current target of the event. The current target is the element in the propagation path for which event handlers are currently being executed.