This takes a cube and turns it with the screen. Augmented Reality make it seem if it’s actually there. Feel free to add your own pen object into this!
Credit to me @iwadler123. If you would prefer, you could alter the code to turn the camera off. Thank you @funguy_mushrooms for proposing to be featured!