How do I allow individual words to be clicked?

Just started using Construct 2? Post your questions here

Post » Sun Jan 08, 2017 7:40 pm

Is there any way to make text that will operate as in Twine or Texture, so that individual words within the body of the text can be clicked on to trigger different actions? The text would vary in length according to other factors so it wouldn't do to put invisible boxes over it to receive the clicks or anything like that.

Any help greatly appreciated!
B
5
S
2
Posts: 53
Reputation: 792

Post » Sun Jan 08, 2017 8:04 pm

You could make the individual words or text to be its own text box. Then you could use a simple, cursor over object [textbox] and a when left click condition. If that doesn't work, you could check to see if the X and Y positions are within certain values which would be the area certain text occupies.
B
8
S
3
G
3
Posts: 13
Reputation: 2,130


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest