ale711 Edit: solved I have a Player script where i check for the "shoot" action and if it's pressed a spawn a bullet. $Marker2d and get_node("Marker2d") are both null. Any ideas?