new InteractionManager(stage)
The interaction manager deals with mouse and touch events. Any DisplayObject can be interactive if its interactive parameter is set to true This manager also supports multitouch.
Parameters
Name | Type | Description |
---|---|---|
stage |
PIXI.Stage | The stage to handle interactions |
- Source code: pixi/InteractionManager.js, line 5
Public Properties
-
currentCursorStyle : string
-
The css style of the cursor that is being used
- Source code: pixi/InteractionManager.js, line 128
-
last : number
-
- Source code: pixi/InteractionManager.js, line 122
-
mouse : PIXI.InteractionData
-
The mouse data
- Source code: pixi/InteractionManager.js, line 24
-
mouseOut : boolean
-
Is set to true when the mouse is moved out of the canvas
- Source code: pixi/InteractionManager.js, line 135
-
mouseoverEnabled : boolean
-
- Source code: pixi/InteractionManager.js, line 47
-
onMouseDown : Function
-
- Source code: pixi/InteractionManager.js, line 86
-
onMouseMove : Function
-
- Source code: pixi/InteractionManager.js, line 80
-
onMouseOut : Function
-
- Source code: pixi/InteractionManager.js, line 92
-
onMouseUp : Function
-
- Source code: pixi/InteractionManager.js, line 98
-
onTouchEnd : Function
-
- Source code: pixi/InteractionManager.js, line 110
-
onTouchMove : Function
-
- Source code: pixi/InteractionManager.js, line 116
-
onTouchStart : Function
-
- Source code: pixi/InteractionManager.js, line 104
-
pool : Array
-
Tiny little interactiveData pool !
- Source code: pixi/InteractionManager.js, line 54
-
resolution : number
-
- Source code: pixi/InteractionManager.js, line 142
-
stage : PIXI.Stage
-
A reference to the stage
- Source code: pixi/InteractionManager.js, line 16
-
touches : Object
-
An object that stores current touches (InteractionData) by id reference
- Source code: pixi/InteractionManager.js, line 32