Move around your mouse and you can have "Scratch" or the Scratch cat stamp there! Sometimes it will go to a random spot.
This project is a simple example of custom blocks. There's one for the random position, and one for the random angle. Click "See inside" and you can look at how I made this. There's also comments for everything.