for some reason, the new version always goes back to the idle (first added) motion, even if i told another motion to loop with play_motion
no matter what i try, at motion_finished the motion_index always returns 0 so i cant loop anything but the idle
this is how i solved it, motion variable is set when i call the play_motion