Closed ianleblancbomb closed 1 year ago
I also want this function
@ianleblancbomb @Rakeshpradhan1999 To achieve this, You can pass refs to the dice components, and use that ref to trigger the dice roll
Ex: diceRef.rollDice()
this method can be used, its not typescripted though. But it does work.
for multiple dices, you can pass refs to all the dices and then trigger rollDice for all of them.
Not an issue per say but would be nice to trigger dice roll externally from clicking on dice so multiple dice on screen can all be triggered at once.