How to make a cube flip over a rectangle object

Hi, I’m having some difficulty with my game. At the moment I am needing to make my player which is a cube so that when the screen is touched (it’s an android app/game) the cube will flip (vertical) to the other side of the ‘floating ground’ that it’s sitting on. Then vice versa when it’s tapped again (Flip back to other side). So to sum it up I want to change the cubes y position when the screen is touched, then when it’s touched again, change it back.
Does anyone know how to do this? Detailed instructions if possible as I am a beginner. All help is much appreciated!
Thanks in advance :slight_smile:

DONT WORRY I NOW HAVE THIS WORKING :slight_smile: