Skip to content

types.mouse_event

Event details for mouse input

Properties

NameDescription
positiontype: vector2 The scaled mouse position
buttontype: number The mouse button index
statetype: string The mouse interaction state ("click", "released", "scroll")
scroll_xtype: number The scroll delta on X axis
scroll_ytype: number The scroll delta on Y axis