A custom component to attach to a button that will play an animation from a glb file

First of all, I am not a coder and trying to do everything in Studio. I have been able to copy and paste some custom components but I can’t find anything that does this. I have a glb and I want to have a button on screen that when clicked, plays a specific animation associated with the glb. Does anyone have a simple script for this? I have been trying to get ChatGPT to do it and it keeps hallucinating…thinking it knows 8th wall Studio but it doesn’t. Thanks!

Have you taken a look at the button sample project? It’s pretty similar, however instead of adding a ScaleAnimation you would mutate your GltfModel component to change the current animationClip.