Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PointerInputModule.GetPointerData

Switch to Manual
protected function GetPointerData(id: int, out data: EventSystems.PointerEventData, create: bool): bool;

Parameters

id Touch ID.
data Found data.
create If not found should it be created.

Returns

bool True if a pointer is found.

Description

Seach the cache for currently active pointers, return true if found.