How can I rotate the link of a text in a node. Here is my MWE:

```
\documentclass{article}
\usepackage{tikz}
\usepackage{hyperref}

\begin{document}

\begin{tikzpicture}
\node (rect) [rectangle, fill=blue, rotate=90] {\hyperlink{rec}{Damn it!}};
\end{tikzpicture}

\end{document}

```

I can get rid of the box surrounding the text obviously but this does not solve my problem.

Additionally, any way that I can link the node itself, that is the shape such as a rectangle, circle, etc?

---

Thanks all for the answers but I think my MWE was to minimal. To answer the answers below:

* with `\rotatebox` the shape changes,
* and I cannot hyperlink the whole environment because I have other nodes.

So here is the new MWE: I would like the shape as in "shape ok" but the link as in "link ok" box; and just rotate and link one of the nodes.

```
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzstyle{block} =[fill=red!20, rectangle, minimum height=1cm, minimum width=2cm]

\begin{document}

\begin{frame}
\makebox[\textwidth][c]{%
\begin{tikzpicture}%
\node (rect1) [block, rotate=90] {\hyperlink{link}{shape ok}};
\node (rect2) [block, above=2cm of rect1] {\rotatebox{90}{\hyperlink{link}{link ok}}};
\end{tikzpicture}}%
\end{frame}

\end{document}

```