Problem with Mario entering a pipe

i’m working on my first Super Mario Bros game, but i can’t seem to figure out how to make Mario enter a warp pipe when i press down. is there any way to do that?

if so, here is my game:

no replies yet?