Hide and Show Image upon Hover


#1

I am trying to code when you hover over something an image pops up.

Any suggestions?


#2

Hi @Stephanie_Wieczorek!

An easy way to show and hide an image dynamically is to change its scale. Below you can find an example of how it’s done

Show Example

Code:
image

Code description:
To begin of the scene we set the scale of the picture to 0 (to hide it). Then, whenever the panel text is looked at we show the picture, and hide it when it’s not being looked at.

Code in action:

Here a link to test if yourself!

Hope this helped!