Friday, December 8, 2023
HomeVideo EditingThe best way to Use Quantity Variables to Create Click on Counter...

The best way to Use Quantity Variables to Create Click on Counter in ActivePresenter 9


(Final Up to date On: June 19, 2023)

A quantity variable in ActivePresenter 9 is a good answer to seize and monitor numeric values. This tutorial will present you how one can use quantity variables to create a mouse click on counter. That’s to say, you possibly can monitor what number of clicks on an object. 

Let’s say you have got a click on counter. Clicking the ‘+’ button will go up the counter by 1 and clicking the ‘-’ button will go down it by 1. While you need to reset the counter, press the Reset button. 

click counter

For that to occur, try the steps under:

  1. Create a Quantity Variable
  2. Assign Actions to Regulate the Variable
  3. Reference the Variable

Create a Quantity Variable for the Click on Counter

You solely want one variable on this instance to depend the variety of mouse clicks. To create a quantity variable, you entry the Residence tab, then click on on Variables

Insert variable from the Home tab

Within the Variables dialog, click on on the inexperienced plus icon on the backside so as to add a brand new variable, choose the NUMBER sort, and outline its preliminary worth if any.

create a number variable

After that, click on Add & Shut to complete.

Now the quantity variable is created. The following step is to create actions that calculate the variety of clicks.

Assign Actions to Regulate the Variable

On this step, you might want to add events-actions to make the counter work. Significantly, it’s vital so as to add the Regulate Variable motion to every ‘+’, ‘-’, and Reset buttons of the clicking counter. Firstly, you choose the ‘+’ button and navigate to its Properties pane > Interactivity > Occasions – Actions. Then add the On Click on occasion and the Regulate Variable motion. You set so as to add 1 level to the quantity variable when clicking the ‘+’ button like this:

add action to + button

Equally, you proceed setting to subtract 1 level from the variable when clicking the ‘-’ button:

add action to - button

For the Reset button of the clicking counter, you set the quantity variable to be equal to 0:

add action to reset button of the click counter

Reference the Variable

This step is to insert a variable reference that shows the quantity variable worth within the click on counter. You’ll be able to add variable references to any textual content caption, form, button, or different text-based objects in ActivePresenter 9.

To insert a reference, do the next:

1. Click on the textual content space of the counter to open the inline textual content editor.

2. Click on the Residence tab > Reference. Choose the countClick variable from the dialog and click on OK to complete.

3. Optionally, format the reference textual content the best way you need.

reference variable in the click counter

Tip: In case you keep in mind exactly a variable title, sort the title and put it between the % indicators to reference that variable.

At this level, every time you click on one of many three buttons, the reference will replace accordingly.

That’s it! Really easy to make use of quantity variables to seize and monitor numeric values in a click on counter with ActivePresenter 9. Hope that this evokes you to construct wealthy interactive eLearning programs with ActivePresenter.

Download ActivePresenter

See additionally:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments