0 votes

I did a lot of tries but, after "setphysicsprocess(false)", it don't want back to normal animation anymore

if Input.isactionjustpressed("uiselect"):
$Sprite.isprocessingunhandledkeyinput()
$Sprite.play("Attack")
setphysicsprocess(false)
elif Input.isactionjustreleased("uiselect"):
setphysicsprocess(true)
---------------------- OR ----------------------------------------------------------

if Input.isactionjustpressed("uiselect"):
$Sprite.play("Attack")
if ($Sprite.isplaying()):
set
physicsprocess(false)
elif Input.is
actionjustreleased("uiselect"):
set
physics_process(true)

I really need help, thank you.

asked Jun 11 in Projects by BrunoFreezee (21 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.