How do you freely rotate sprites?

In the Aseprite v1.3 trailer the cat sprite can freely be rotated or stretched horizontally: https://youtu.be/4emFL4aV9WM?feature=shared&t=21

How do you do that?

You just have to position the cursor in the right places. For rotation you have to position it on the top right/left corner of the selection box, and for streacthing you have to position it right on the top-center of the selection box, like I marked in the image