API Docs for: 1.4.0
Show:

Kiwi.Input.Finger Class

Extends Pointer
Module: Input
Parent Module: Kiwi

Used with the Touch manager class, this object holds information about a single touch point/location (or, you know, a finger). By default a Finger has a diameter of 44 pixels (random average size of a finger) which can be used for collision/overlap detection. That value can be modified. Note: A Finger is only active whilst the user is 'pressing' down on stage.

Constructor

Kiwi.Input.Finger

(
  • game
)

Parameters:

  • game Kiwi.Game

    The game that this finger belongs to.

Returns:

Finger

Item Index

Methods

leave

(
  • event
)
public

Parameters:

  • event Any

objType

() String public

The type of object this is.

Returns:

String:

"Finger"

reset

() public

start

(
  • event
)
public

Parameters:

  • event Any

stop

(
  • event
)
public

Parameters:

  • event Any