Pushing a block in a direction

I was able to figure it out by using multiple custom events tied to the same command and having a true false statement so that only one can happen.

By the way shift is called based on a user input