Create a Tooltip with Layer Actions

For this example, we’ll add two Layers to the stage.  One will be an image Layer, and then the other will be a tooltip for this image.  Then we’ll hide the tooltip by default, and only show it when the user hovers their mouse over the image — all accomplished with Layer Actions.

This technique can be used between any 2 Layers, i.e. an Image Layer is not required, and you could have a Button in place of the Image, etc.

3. Select the Image Layer, and add the following two Actions.

  1. Show the Text Layer when hovering your mouse over the Image
  2. Hide the Text Layer on “mouseleave”.

click screenshot below for full view

4. Final Result:

No Hover
On Mouse Over