ForumsProgramming ForumgotoAndStop

2 2184
alex57834
offline
alex57834
88 posts
445

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,309 posts
28,720

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
88 posts
445

Thanks for the link. It helps

Showing 1-2 of 2