Mouse click input event firing 4 times

Godot Version

4.2

Question

This function prints the position of the mouse 4 times when I only click once. I’ve tried it on a different device and I get the same result. Any ideas?
Screenshot 2024-06-04 152110

without seeing anything else perhaps that code is on an inherited script and there are 4 instances of it in your world

2 Likes

That was exactly it. I accidently put it on the wrong script. :upside_down_face:

1 Like