Skip to main content
LMS_90
Inspiring
May 8, 2018
Question

While loop only active on current slide?

  • May 8, 2018
  • 1 reply
  • 186 views

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

This topic has been closed for replies.

1 reply

Lilybiri
Legend
May 8, 2018

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.