I built a physics engine with jumping (by pressing the up arrow) moving side to side (by pressing the respective left and right arrows) and teleportation (by clicking on the sprite and inputting the X, Y, and Z coordinates when they are asked by the blue ball)
I used the template made by srithunderboltteach and made the whole thing in that. the blue ball is the player the purple block stops falling and makes it so you can jump, and the red spike kills you and sends you to about the place that it is in the thumbnail.