Skip to main content
1-Visitor
Apr 2, 2021 6:36 PM UTC
Question

Execute play and rewind properties by clicking a button

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
Apr 5, 2021 5:02 AM UTC

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

Translate
7-Bedrock
Apr 7, 2021 11:15 AM UTC

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

Translate