func _on_Area2D_input_event(viewport, event, shape_idx):
if event is InputEventMouseButton:
hunger.value += 50
This is my function for the mouse click. When I click the object, the hunger.value suppose to increase to 50. Currently, when I click, the value increase to 100 because it detects as double click. Is there something I'm missing here ? Hope someone can help me with this.