Moving with Variables

On the forum i noticed a thread about moving a button on a click with variables. Although this got a solution quite quickly, i wanted to make a solution of my own. To ensure reusability i used a javascript that gets the position of the cross-markers in Lectora and sends these back to Lectora to be used as variables. To show its flexibility and reusability i added 2 buttons to make the position of the cross-markers random and/or to make the button jump to one of them randomly.

Preview image


Your email address will not be published. Required fields are marked *