Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
InputEventMouse¶
Inherits: InputEventWithModifiers < InputEventFromWindow < InputEvent < Resource < RefCounted < Object
Inherited By: InputEventMouseButton, InputEventMouseMotion
Base input event type for mouse events.
Description¶
Stores general information about mouse events.
Tutorials¶
Properties¶
BitField<MouseButtonMask> |
|
|
|
||
|
Property Descriptions¶
BitField<MouseButtonMask> button_mask = 0
void set_button_mask ( BitField<MouseButtonMask> value )
BitField<MouseButtonMask> get_button_mask ( )
The mouse button mask identifier, one of or a bitwise combination of the MouseButton button masks.
Vector2 global_position = Vector2(0, 0)
void set_global_position ( Vector2 value )