Another way to say "it is fun playing with a toy marble" is "Playing with a toy marble is fun."