Press [SPACE] to respawn the cube. Press [Q] and [E] to rotate the blue portal. Press [A] and [D] to rotate the orange portal. All portal rotations are done in 15° increments. Place a blue portal using [W]. Place an orange portal using [S]. Replay footage by pressing [K]. Make sure the cube goes in the FRONT of the portal and also make sure an infinite portal loop does NOT happen, otherwise some very TRIPPY stuff will happen. Pause simulation by holding down mouse.
Sorry, mobile-friendly not supported. Guess what? The Press [K] to Replay function has been causing some minor inconveniences. For the sake of my computer and Scratch's future, I have limited the number of playback frames to only 10000. Since Scratch runs at 30 fps, the screen will flash red after about 5 and a half minutes to indicate a memory overload. After those 5 minutes, playback will cease. You can remix and make the capacity bigger, but remember to take care of your computer. *BOOM*