Base class for keys events with modifiers.
    public abstract class InputEventWithModifiers : InputEvent

Contains keys events information with modifiers support like Shift or Alt. See Node._Input(Godot.InputEvent).

Inheritance Chain

Derived Classes

Properties

    public bool Alt { get; set; }

State of the Alt modifier.

    public bool Command { get; set; }

State of the Command modifier.

    public bool Control { get; set; }

State of the Ctrl modifier.

    public bool Meta { get; set; }

State of the Meta modifier.

    public bool Shift { get; set; }

State of the Shift modifier.

Methods

    [Obsolete("GetAlt is deprecated. Use the Alt property instead.")]
    public bool GetAlt()

Getter for Alt

    [Obsolete("GetCommand is deprecated. Use the Command property instead.")]
    public bool GetCommand()

Getter for Command

    [Obsolete("GetControl is deprecated. Use the Control property instead.")]
    public bool GetControl()

Getter for Control

    [Obsolete("GetMetakey is deprecated. Use the Meta property instead.")]
    public bool GetMetakey()

Getter for Meta

    [Obsolete("GetShift is deprecated. Use the Shift property instead.")]
    public bool GetShift()

Getter for Shift

    [Obsolete("SetAlt is deprecated. Use the Alt property instead.")]
    public void SetAlt(bool enable)

Setter for Alt

    [Obsolete("SetCommand is deprecated. Use the Command property instead.")]
    public void SetCommand(bool enable)

Setter for Command

    [Obsolete("SetControl is deprecated. Use the Control property instead.")]
    public void SetControl(bool enable)

Setter for Control

    [Obsolete("SetMetakey is deprecated. Use the Meta property instead.")]
    public void SetMetakey(bool enable)

Setter for Meta

    [Obsolete("SetShift is deprecated. Use the Shift property instead.")]
    public void SetShift(bool enable)

Setter for Shift

Tags: