How do I rotate the Canvas?

I want to create a scoring system but when I create a canvas, it is perpendicular to my game. How would I rotate it?

You need to set the canvas as a World Space Canvas. Then you can do whatever you want, just like any other transform. However, remember that this is in world space units also, so things might get messed up and you many get undesired results.

ā€“

Another trick is to place another canvas as a child of your main(yes you can nest them). Then you can rotate that as you please and keep it as a Screen Space canvas.

As far as I know it is not possible to rotate or change width and length of the canvas.

This is from an older version but it describes the canvas types (and yes, you can change/rotate/length with different canvas types)