How do I make a text appear when hit by an object and disappear when no object was hitting it?

I am making a Platforming game and make npcs like a man in the shop so I need text box that shows their messages

I suggest looking at other games for examples

Proximity β†’ Number (100) β†’ Label (Alpha)

to turn text off

Proximity β€”> NOR gate β†’ Number (0) β†’ Label (Alpha)

1 Like

I wish this could work with collision

1 Like

I mean you could have an object that turns the text on, then have a second object that turns it off when you hit it.

You could use collision any to turn it off

That would also work, just have to make sure it doesn’t turn off the text when you hit the object that is supposed to turn it on.