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.

PointerInputModule.GetMousePointerEventData

protected EventSystems.PointerInputModule.MouseState GetMousePointerEventData();
protected EventSystems.PointerInputModule.MouseState GetMousePointerEventData(int id);

Description

Return the current MouseState.