Skip to content

Godot 4 get_global_mouse_position() input lag with Forward+ renderer #75830

Open
@VilleMantyla

Description

@VilleMantyla

Godot version

4.0.2

System information

Windows 10, GeForce GTX 1050 Ti

Issue description

The lag can easily be seen when moving a sprite with the mouse in _process()

extends Sprite2D
func _process(delta):
	position = get_global_mouse_position()

Steps to reproduce

2023-04-08.19-39-24.mp4

Minimal reproduction project

laggy_mouse.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions