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.

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.