Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Excalibur.js Edge API Documentation
Input
PointerEvent
Class PointerEvent
Hierarchy
PointerEvent
Index
Constructors
constructor
Properties
active
button
coordinates
native
Event
pointer
Id
pointer
Type
type
Accessors
page
Pos
screen
Pos
world
Pos
Methods
cancel
Constructors
constructor
new
Pointer
Event
(
type
:
"cancel"
|
"move"
|
"up"
|
"down"
, pointerId
:
number
, button
:
PointerButton
, pointerType
:
PointerType
, coordinates
:
GlobalCoordinates
, nativeEvent
:
Event
)
:
PointerEvent
Parameters
type:
"cancel"
|
"move"
|
"up"
|
"down"
pointerId:
number
button:
PointerButton
pointerType:
PointerType
coordinates:
GlobalCoordinates
nativeEvent:
Event
Returns
PointerEvent
Properties
active
active
:
boolean
= true
button
button
:
PointerButton
coordinates
coordinates
:
GlobalCoordinates
native
Event
native
Event
:
Event
pointer
Id
pointer
Id
:
number
pointer
Type
pointer
Type
:
PointerType
type
type
:
"cancel"
|
"move"
|
"up"
|
"down"
Accessors
page
Pos
get
pagePos
(
)
:
Vector
Returns
Vector
screen
Pos
get
screenPos
(
)
:
Vector
Returns
Vector
world
Pos
get
worldPos
(
)
:
Vector
Returns
Vector
Methods
cancel
cancel
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Excalibur.js
Edge API
Documentation
Events
Input
Side
Util
Draw
Util
webgl
Pointer
Event
constructor
active
button
coordinates
native
Event
pointer
Id
pointer
Type
type
page
Pos
screen
Pos
world
Pos
cancel