I want that If my player Jumps I get a Jump sound.
So I used this code:
extends AudioStreamPlayer
func _process(delta):
if Input.is_action_pressed("jump"):
$Jump.play()
I did coding in a music node
But I got an error: attempt to call function 'Play' in base 'null instance' on a null instance
Download the code: https://github.com/jipiee/Questions
Thanks in advance
V.3.5.2