hey, i need help. i know how to do some coding, but i havent yet figured out how to make buttons work. i am making my intro scene and i want a play button that when you press enter, it starts the game. any ideas?
If you want the project’s timeline to play when “enter” key is clicked, you can put this in the update script:
if(isKeyJustPressed("enter")){
project.play();
}
1 Like
thanks! that helps.
1 Like
Lets say your title screen is at frame one
In the frame code add a keypressed script which should be under keyboard when you click add script.
Then copy and paste this
if (key === “enter”) {
gotoAndPlay(2)
}