Update variable while dragging an object

Jul 06, 2015

Is there a way to continually (in real time) update a variable based on the mouse pointer's position while dragging an object?

 

17 Replies
Allen Moore

Unfortunately I am currently unable to open Aticulate.  Corporate has installed Flashplayer 18.  I am waiting to have Storyline updated.

One example:

I was tasked with teaching people how to frisk individuals for radioactive contamination.

The detector's wand is  dragged over the "body" the simulated device begins to chirp, the closer it gets to an unseen contaminated spot, it begins to chirp faster.  The closer it gets the faster it chirps.

This can only be accomplished if the wand can be moved in any direction and it's position relative to the contaminated spot continually updated.  It also had to not respond if the wand was moving too fast.

Michael Hinze

Yes, the 'hotspots' are transparent objects (you could use actual hotspot elements too). The variables are updated with triggers like this one:

As I had mentioned, the grid in my example is rather coarse. You could add more hotspots to ensure the variables are updated more frequently. I just thought that this concept might work for you.

This discussion is closed. You can start a new discussion or contact Articulate Support.