rfrapp 17 Junior Poster in Training

Hello, I'm creating a game using SDL, and what I'd like to happen is: if the character jumps on a button, then it'll disappear. However, I cannot find a way of accomplishing this, as all the SDL functions I know of start at runtime and cannot be changed. If I'm wrong, would someone please enlighten me? Is there a way that I can get this accomplished? Thank you for your time!