Simple animation question

Good day!

I have a sphere, I want that when it jumps, it turns into a square. as soon as it hits the ground it turns to a sphere and the cycle repeats.

Please click the image to have an idea of what I’m talking about.

I’m new to Blender. so How do I go about it?

your response is appreciated.

shape key, Use transform object to sphere to make sphere. put a driver on the shape key. Like this.cube sphere.blend (657 KB)