godot3 mouse position

in #godot37 years ago
func _input(e):
    if (e is InputEventMouseButton
    and e.button_index == BUTTON_LEFT and not e.pressed):
        print("Mouse Click/Unclick at: ", e.position, 'g: ',get_viewport().get_mouse_position())