Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

While loop only active on current slide?

Contributor ,
May 08, 2018 May 08, 2018

If I write a while conditional action, does it only execute while I am on that particular slide?

So if I have a while 1==1, increment var, will it only increment my var while I am on the slide from which the action was triggered? And not continue to increment during the whole project? 

If so, why does it behave this way? While should be while the condition, not "until I leave this slide", no?

Thanks,

Lori

162
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2018 May 08, 2018
LATEST

Not sure if it 'should' behave as you seem to expect. If you have an animation on a slide, which you time to loop, it will not continue on the other slides. Can you give more details about what you want to achieve with that increment example? You have to be aware that the While loop cannot be stopped by a pause or a pausing point. If you have an interactive object on a slide, pausng the slide at 1,5sec, the incrementing will continue while the playhead is paused.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources