You need to constantly update the y-position of your character by decreasing it with the value of 'gravity'. Create a loop for this. Remember, in Scratch, increasing y-position moves the sprite up, decreasing it moves the sprite down, hence this give an effect of gravity.