Skip to main content
Participant
June 7, 2024
Question

Interactive Animation/Button help

  • June 7, 2024
  • 1 reply
  • 173 views

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 has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 7, 2024

button is behaving as expected.

 

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

Participant
June 13, 2024

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! 

kglad
Community Expert
Community Expert
June 13, 2024

you're welcome.