ForumsProgramming ForumgotoAndStop

2 2134
alex57834
offline
alex57834
89 posts
425

I watched a video tutorial and the gotoand stop code wasn't made very clear. Could you talk me through a simple motion tween with an object and how to make it use the gotoandStop.

  • 2 Replies
weirdlike
offline
weirdlike
1,296 posts
26,345

gotoAndStop(); is referencing the frame of which you want to go to then stopping

gotoAndStop(5); means go to the fifth frame then stop

gotoAndPlay(5); means go to the fifth frame then play

youtube

alex57834
offline
alex57834
89 posts
425

Thanks for the link. It helps

Showing 1-2 of 2