i wanna make a certain spot for keybcontrol make the character proceed to a different frame.
Plz help (ver 1.19.3)
so in more specific terms, you want it so if a character clip touches a certain other clip (the area), then the player can press a certain keyboard button to go to a different frame?
here is the code:
if (character.hits(areaClip) && isKeyDown("z")) {
gotoAndStop(FRAME_NUMBER);
}
replace the variables character, areaClip, and FRAME_NUMBER with their appropriate values/variables, depending on what variable names/values you gave to each in your project.
2 Likes
No, I want them to automatically go to another frame.
Wait what variable names