Thursday, September 8, 2022
HomeE-LearningStep-by-step: Automated Trace after 2 Unsuitable Clicks

Step-by-step: Automated Trace after 2 Unsuitable Clicks


Just lately I posted an instance venture, displaying the results of this workflow and explaining the aim.

Automated Trace after 2 unsuitable hotspot clicks. – eLearning (

This weblog submit explains the setup elaborately, as a result of the unique consumer was new to variables, occasions and superior actions. Please watch the 3-slides instance output to observe this workflow

Slide setup

Take a look at this screenshot, the place the slide (2) and its timeline are seen:

The six interactive objects are form buttons (each Alpha and Stroke set to 0) over the buttons of the picture. One in every of them deserves the proper click on and the opposite ones are unsuitable decisions. All buttons have the default pausing level at 1.5secs. They’ll all set off a sophisticated motion, which suggests the slide will stay paused. You see the Appropriate suggestions message, utilizing the Default Success Form fashion (messages aren’t any captions, however shapes).


The workflow wants organising two consumer variables utilizing the Venture menu, possibility Variables:

  • v_attempts will monitor what number of occasions a click on has been achieved. Its default (begin) worth is about to 0. Its worth will at all times be numerical.
  • v_failure: could have a textual content message. Within the screenshot of the variables dialog field you see the default worth. Nevertheless it isn’t actually essential to outline that default worth in the event you use the Reset motion described under and triggered by the On Enter slide occasion.

The primary variable is straightforward to grasp. The variable v_failure will likely be used as placeholder in a default suggestions message. That makes the message ‘dynamic’: by altering the worth of the variable, message textual content will change. That is the one solution to obtain such a change, as a result of these default suggestions messages don’t assist a number of states (though the States button is lively, you can not add states). You’ll study which message to make use of within the subsequent half.

Occasions and Superior Actions

As talked about earlier than, I did arrange the 6 form buttons with Infinite Makes an attempt. Because of this they’re left with solely the Success occasion, which happens on clicking the button. Solely the Success message will likely be essential. That will appear illogical, is linked with the Captivate which means of Success and Failure. Success means the button has been clicked, Failure means the press occurs exterior of the button. You perceive that clicking exterior of a button is ineffective right here.

Setup SBCorrect

Clicking the Appropriate button ought to lead to navigation to the following slide with the easy motion ‘Go to Subsequent Slide’ (occurs to be the default easy motion). That navigation is not going to occur instantly after clicking the button as a result of the choice ‘Pause for Success/Failure Captions’ is activated. Show time for these messages (as a result of they usually usually are not in a caption, however in a form) is 3 seconds, may be modified within the Timing Properties. See the complete setup on this screenshot:

The proper suggestions message may be edited on the stage, makes use of the Default Success Form fashion.

Setup 5 SB_Wrongx

Dynamic Message

Clicking the Unsuitable buttons will even present the Success suggestions message, and also you’ll get 5 of them. For the learner they need to seem like Retry (or Trace) messages, so I select one other Form fashion for these messages (see screenshot Slide setup). Since they’re linked to their buttons and all seem in a special location I additionally used the Align, Align and Resize to the identical dimension from the right-click menu after choosing the 5 messages.

The trick right here is to fill these messages with the identical consumer variable v_failure to interchange the traditional success textual content. Do that through the use of the X-button within the Character a part of the Properties panel of the message whereas in enhancing mode:

That X-button will present the ‘Insert Variable’ dialog field. Consumer variable is the default alternative, you simply want to decide on v_failure from the dropdown record. Necessary: the default ‘size’ is about to 50 characters, in the event you anticipate an extended textual content improve that quantity. On this screenshot I improve it to 100:

Superior Motion FailureAct

This can be a screenshot of the Preview window of that motion. Extra particulars about this window and all of the options of the Superior Actions dialog field on this submit):

You see that this motion has two selections:

Determination ‘Monitoring‘ is non conditional. It consist of 1 Increment motion for the variable v_attempts.

Determination ‘Message’ is conditional, has solely the THEN half, not an Else half. When the makes an attempt are larger or equal to 2, the textual content within the variable v_failure is modified to the Trace textual content. In fact it’s potential to vary that quantity of makes an attempt if wished.

EnterSlide Motion (elective)

Should you permit the learner to revisit the slide, and wish to have the equivalent state of affairs of the primary go to, will probably be essential to Reset the variables. You’ll want this non-conditional superior motion, to be triggered by the On Enter slide occasion:

Each variables v_attempts and v_failure are reset to their unique values. As a result of a sophisticated motion is just not releasing the play head, I added Proceed. On this instance it isn’t actually essential, however it might imply that the play head stays within the first body and isn’t advancing to the pausing level at 1.5 secs. It’s potential with different setups, like having an impact or animation that you simply want that launch of the play head.

It’s completely potential to transform the FailureAct motion to a shared motion, however that could be one other weblog 😉



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments