How do I move object with character?

I have found a ton of tutorials with code that
teaches you how to move a character, or move
objects with arrow keys… but I have found
nothing that teaches you the code that allows the
character in a video game to move an object around.
like for example a character needs to slide a block
across the ground so he can jump on it to reach the
platform that higher up.
In my platformer game, I have figured out how to
jump and move the character back and forth among
the platforms with gravity, and thats as far as I
have got.
Can someone please tell me the code that will allow
my character to push a block across the ground?
thanks