diff --git a/core/os/input_event.h b/core/os/input_event.h index b94f0ef46a3..417b7f066f6 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -377,7 +377,7 @@ public: InputEventJoypadButton(); }; -struct InputEventScreenTouch : public InputEvent { +class InputEventScreenTouch : public InputEvent { GDCLASS(InputEventScreenTouch, InputEvent) int index; Vector2 pos;