Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | null_u |
Im trying get a print(“something”) after Area2D mouse click but i still cant get any output what may be the problem? Thank you
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | null_u |
Im trying get a print(“something”) after Area2D mouse click but i still cant get any output what may be the problem? Thank you
Reply From: | Fenderbate |
the error is in your if statement
instead of InputEvent.MOUSE_BUTTON
use InputEventMouseButton