Toggle Function Question

I'm very new to Lectora, so this question may seem very elementary. I set the toggle on/ toggle off function to cause some text to flash on and off. I don't want that to continue for the entire time the learner is on the page, but I cannot figure out how to set it to stop either after a certain amount of time, or if a button is selected, etc. Any help is appreciated.

Discussions have been disabled for this post