I’m fairly new to scripting and I’m having a bit of trouble with making a click to play animation script. How would I go about making one that plays the animation until the TextButton is clicked again?
Animation API reference should help
Oh and if you want to connect a mouse event check the Mouse Object
Friendly Reminder: Devforum is not a place to ask for scripts. You should try to learn scripting if you don’t know how to script.
To do this I think you should take a look at this if you are struggling to make it work once you click MouseButton1Click . And I think you should check these out if you are struggling to play the animation:
1 Like