Preparing search index...
The search index is not available
CC TS
CC TS
@cc-ts/helpers
event
MouseEvent
Class MouseEvent
Implements
IEvent
Index
Constructors
constructor
Properties
_type
button
side
type
x
y
Accessors
args
name
Methods
init
Constructors
constructor
new
MouseEvent
()
:
MouseEvent
Returns
MouseEvent
Properties
Readonly
_type
_type
:
"mouse"
button
button
:
number
= 0
side
side
:
null
|
string
= null
type
type
:
MouseEventType
= MouseEventType.Click
x
x
:
number
= 0
y
y
:
number
= 0
Accessors
args
get
args
()
:
(
null
|
string
|
number
)
[]
Returns (
null
|
string
|
number
)
[]
name
get
name
()
:
|
"monitor_touch"
|
"mouse_click"
|
"mouse_drag"
|
"mouse_scroll"
|
"mouse_up"
|
"mouse_move"
Returns
|
"monitor_touch"
|
"mouse_click"
|
"mouse_drag"
|
"mouse_scroll"
|
"mouse_up"
|
"mouse_move"
Methods
Static
init
init
(
args
:
any
[]
)
:
null
|
IEvent
Parameters
args
:
any
[]
Returns
null
|
IEvent
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_type
button
side
type
x
y
Accessors
args
name
Methods
init
CC TS
Loading...