Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

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.