The cube rotates automatically about the Y axis. <Up Arrow> & <Down Arrow> keys to rotate cube about the X axis. <a> and <z> keys to rotate cube about the Z axis. Try key combinations to rotate about several axes simultaneously.
All credits to @Scratch-Minion..I just duplicated the sprite and changed the global variables to local variables trying.to make a cube inside the transparent cube - a experiment that resulted not well.