how to instance bullet with different position?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By potatobanana

how to change instance position from player to godot icon?
player_scenes
enter image description here
enter image description here

:bust_in_silhouette: Reply From: potatobanana

solve

if Input.is_action_pressed("Lclicked") and reload_time < 0:
	reload_time = 0.5
	emit_signal("create_bullet",bullet_scene,$icon.global_position)