is there a way for mario to go up, and down when he dies to a goomba

if there is, give me screenshot

In on my phone so I cant send a screen shot, but have you tried using the Y movement in velocity. First make him float up a little and the use a negative number on a time to make him float down. This might not help much but I tries.