Skip to main content

InputHelper

ZEPETO.Character.Controller.InputHelper

Utility class designed to assist with input handling.

Hierarchy

Constructors

constructor

new InputHelper()

Inherited from

System.Object.constructor

Methods

IsPointerOverUIObject

Static IsPointerOverUIObject($position): boolean

Checks if the specified position on the screen is over a UI element.

Parameters

NameTypeDescription
$positionVector2Position on the screen.

Returns

boolean

Returns true if the position is over a UI object.


IsPointerOverUIObjectCurrentPosition

Static IsPointerOverUIObjectCurrentPosition(): boolean

Determines if the pointer is currently over a UI object.

Returns

boolean

Returns true if the pointer is over a UI object.