how do i make it so that when i let go of a surtain key then the action will stop? because i’m testing to make a new game i’m making
Go to the key released, and type this:
if(key==="space"){ ... }
Switch the … with what u want to happen, and the “space” with the name of the key
Here’s an example:
i meant if you press a button something or a drawing would appear on a specific frame
LIKE WHEN YOU CLICK A BUTTON IT CHANGES ANOTHER FRAME oops sorry it was caps lock
Make a button, create a Mouseclick script, and write this in the code:
gotoAndPlay(
frame number);
Write your frame number where it says “frame number”.
If you want it to stop at that frame, write this instead:
gotoAndStop(
frame number);
you know that doesn’t help right?
do you mean pressing a button will change the frame of another clip?
My Project10-8-2020_9-42-07PM.wick (9.1 KB)
1 Like
thx dude!!