[Solved] Highlight a word

Hey guys,

I'm currently working on creating an interaction where, upon entering a word into the input box, it will highlight the word within a paragraph if it's present there.

The Text layer comprises only one block of text, which is making it challenging for me to position the highlighter accurately.

For example, if I were to type 'guide,' how can I ensure that the highlighter (rectangle) moves to the precise location of 'guide' and highlights it accordingly?

Would really appreciate your help. I’ve more of less been able to adjust the width by using “length(`Input 1`.text)*11“, which scales to an extent, but if there’s a better way to do it, do let me know!