mariofelesdossantosjr
04/04/2020, 2:36 PMRuckus
04/04/2020, 2:39 PMPauseTransition
and playFromStart
on each click. Put the actual click action in onFinished
.mariofelesdossantosjr
04/04/2020, 2:44 PMmariofelesdossantosjr
04/04/2020, 2:44 PMI need to solve a problem with many clicks on the same button
Ruckus
04/04/2020, 2:50 PMval debounce = PauseTransition(time)
debounce.setOnFinished {
// do clicky things
}
button.action {
debounce.playFromStart()
}
mariofelesdossantosjr
04/04/2020, 2:52 PMmariofelesdossantosjr
04/04/2020, 3:06 PM