Skip to content

is_hovered() returns inverted state for Button in Godot 4.4.1 #106953

@hazlema

Description

@hazlema

Tested versions

Godot 4.4.1 Stable Official

System information

Linux, PopOs

Issue description

is_hovered() on a Button returns false when the mouse is over the button (after mouse_entered) and true when not (after mouse_exited), opposite of documented behavior.

  • Signals (mouse_entered, mouse_exited) fire correctly.
  • Issue is reproducible in a minimal project.

Steps to reproduce

  • Create a new Godot 4.4.1 project.
  • Add a Node with a Button child (or create Button via script).
  • Attach the provided script.
  • Run the scene, hover over the button, and observe console output.

Minimal reproduction project (MRP)

minimal_2025-05-30_01-34-47.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions