Legacy Documentation: Version 5.0
Language: English
  • 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

idTouch ID.
dataFound data.
createIf 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.