ForumsProgramming ForumgotoAndStop

2 5015
alex57834
offline
alex57834
88 posts
Nomad

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,299 posts
Prince

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
Nomad

Thanks for the link. It helps

Showing 1-2 of 2