Version: 2023.1
Language : English
UI Toolkit Debugger
Dispatch events

Control behavior with events

UI Toolkit provides events that communicate user actions or notifications to visual elementsA node of a visual tree that instantiates or derives from the C# VisualElement class. You can style the look, define the behaviour, and display it on screen as part of the UI. More info
See in Glossary
. The UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
Toolkit event systemA way of sending events to objects in the application based on input, be it keyboard, mouse, touch, or custom input. The Event System consists of a few components that work together to send events. More info
See in Glossary
shares the same terminology and event naming as HTML events.

Topic Description
Dispatch events Understand the event dispatch behavior, propagation, and target.
Handle events Understand event handling with built-in and custom controls.
Use manipulators to handle events Learn how to use manipulators to handle events from examples.
Synthesize and send events Learn how to synthesize and send events by an example.
Event reference Understand behavior and characteristics of each event.
UI Toolkit Debugger
Dispatch events