Reveal element after click

I’d like to create a slide as an audience engager for a suggestion game. Some images are hidden behind boxes, and if the audience correctly guesses something on the slide, I click that specific box to reveal the image behind. Think of a typical pupil warmup question like “what can you find outside in winter” with images of snow, icicles, snowmen, plow truck, …

This has already been asked before, but unfortunately without an answer: Can elements appear on area click?

Interaction

= Arrange Bring To Front

unfortunately, it’s not predefined as interaction, so you need to go with Run macro :

Sub Reveal
  oDoc = ThisComponent
  oSlide = oDoc.CurrentController.CurrentPage
  oShape = oSlide.getByIndex(1)
  oShape.zorder = 2 ' bring to front
End Sub

image

reveal 118267.odp (62.7 KB)

that works, thank you!