Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

InputEventFromWindow

Inherits: InputEvent < Resource < RefCounted < Object

Inherited By: InputEventScreenDrag, InputEventScreenTouch, InputEventWithModifiers

Abstract base class for Viewport-based input events.

Description

InputEventFromWindow represents events specifically received by windows. This includes mouse events, keyboard events in focused windows or touch screen actions.

Properties

int

window_id

0


Property Descriptions

int window_id = 0 🔗

  • void set_window_id(value: int)

  • int get_window_id()

The ID of a Window that received this event.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.