Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Interactive Animation/Button help

New Here ,
Jun 07, 2024 Jun 07, 2024

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 ❤️

TOPICS
How to , Timeline
133
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2024 Jun 07, 2024

button is behaving as expected.

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2024 Jun 12, 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! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 12, 2024 Jun 12, 2024
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines