Animation not playing on action

Godot Version

Godot 4.4

Question

I wanna play an animation in 3d when my action "jump" is pressed but the animation does not play, there are no breakpoints or other errors. Here is my script to play the animation

extends Node3D

	if Input.is_action_just_pressed("jump"):
		$AnimationPlayer.play("mixamo_com")

I solved it myself i didnt put it in a process function

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.