Skip to main content
1-Visitor
April 2, 2021
Question

Execute play and rewind properties by clicking a button

  • April 2, 2021
  • 2 replies
  • 1562 views

Hello there.

I would like to rewind a step of a sequence without clicking again on play button. Usually we click on the rewind button, sequence jumps a step back but then we have to click on the play button to start the animation. I want to click the rewind button once and then the sequence would go a step back and automatically start playing.

2 replies

1-Visitor
April 5, 2021

you can acheive this, with the help of Javascript (Current step)

7-Bedrock
April 7, 2021

Hello, I've been using what I call a "repeat" button for animations. You can bind multiple click events to a single button. So first bind the click event to the "rewind" property of the model, and then bind the same click event to the "play" property of the model. So now when you click the button, it will first rewind 1 step and then play with a single click.

 

- Mark