How do i use text as an object?

I still for some reason cant get an answer for this question, i want to use text as an object so i can spawn the word “Dont!” for my soccer game so when the user taps on it the game will end please how do i do this!!? this is what i have so far

Hi Kareem,

We noticed that this is a duplicate post of this question: How to use text as an object? - UI - Epic Developer Community Forums

We will be closing this post in order to focus the discussion in one place.