Here's one way...
To use it, make sure you've added an event named click
to your input map and associate it with the left-mouse button...
Next, create a separate scene named sprite
that contains your crater sprite.
Finally, create a new 2D scene with the following script attached to the root node:
extends Node2D
var sprite = preload("res://sprite.tscn")
func _process(delta):
if Input.is_action_just_pressed("click"):
var s = sprite.instance()
s.position = get_global_mouse_position()
add_child(s)
That will create a new instance of the sprite
scene (your crater sprite) at every position where the mouse is clicked.