Skip to main content
Participant
Jun 7, 2024 9:14 PM UTC
Question

Interactive Animation/Button help

A quick rundown of the issue im having and my goal:

 

I'm trying to build an interactive animation scene, where there's objects on the stage I want the user to be able to interact with certain objects and have them change the room a bit as they do. Their goal is to wake up the stickman in the bed. 

 

I'm running into a problem getting the animation to play correctly. I made the blanket on the bed a button, assigned an Up and Over state, and placed a movie clip in the Down state. When tested however, I have to hold the mouse button to get the animation to play, and once you release the mouse button, the the blanket returns to the bed as if untouched. 

 

I just want the blanket to stay off stage after the animation runs, and need the animation to play off of a click not a hold.

 

This is for a school assignment due sunday so any help or brainstorming is appreciated ❤️

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

kglad
Community Expert
Community Expert
Jun 7, 2024 10:22 PM UTC

button is behaving as expected.

 

if you want something to play when a button is clicked, code it

Translate
Participant
Jun 13, 2024 2:55 AM UTC

Hey kglad! I asked some who were a little more open with sharing information and got to a resolution after all! See, since I'm learning the software, I'm not too familiar with how the coding system works at all, but alas, I got it figured out! Thank you for the wonderful "expert" advice that "if you want something to play when a button is clicked, code it." Thanks again! 

Translate
kglad
Community Expert
Community Expert
Jun 13, 2024 3:04 AM UTC

you're welcome.

Translate