Godot Version
Godot 4.4.1
Code
if Input.is_action_pressed(“shoot”):
if !gun_anim.is_playing():
gun_anime.play(“shoot”):
Question
I’m trying to make the gun shoot whenever i click the right mouse button but i cant make it work for some reason all i get is a error, can anyone help me? I’m new to all of this so please bare with me.