Is it possible to create an OnEnter/Exit event for text sprites?

Essentially I’m hoping it’s possible to identify a sprite when mousing over the text.

The goal is to have a combat log where any sprite can be moused over to show a tooltip, or ideally, an area of text.

It is possible indeed.

Take a look at example “12a - Text Interactions” included in the TMP Examples & Extras.

This example shows how you can track interactions with elements of the text which includes sprites.

1 Like

Thanks, that’s exactly what I was looking for!

1 Like