Using beamer , I would like to highlight a part of an image using a spotlight (circular, or rectangular) as shown below:

enter image description here

How can I achieve that in beamer?

1 Answer 1


You could reuse a variation of my answer here based on Jake's solution there.


% From https://tex.stackexchange.com/a/445311/141947
    use page relative coordinates/.style={
        shift={(current page.south west)},
        x={(current page.south east)},
        y={(current page.north west)}


    \begin{block}{Block title}
        Some content
    \begin{tikzpicture}[remember picture,overlay,use page relative coordinates]
        \fill[opacity=0.5,black] (0,0) rectangle (1,1) (0.25,0.5) circle (2cm);


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .