{"action":"created","issue":{"url":"https://api.github.com/repos/playif/play_phaser/issues/30","labels_url":"https://api.github.com/repos/playif/play_phaser/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/playif/play_phaser/issues/30/comments","events_url":"https://api.github.com/repos/playif/play_phaser/issues/30/events","html_url":"https://github.com/playif/play_phaser/issues/30","id":66025590,"number":30,"title":"Question - Is it possible to make a function not return until a tween (started in the same function) finishes?","user":{"login":"TheIceMageX50","id":5065220,"avatar_url":"https://avatars.githubusercontent.com/u/5065220?v=3","gravatar_id":"","url":"https://api.github.com/users/TheIceMageX50","html_url":"https://github.com/TheIceMageX50","followers_url":"https://api.github.com/users/TheIceMageX50/followers","following_url":"https://api.github.com/users/TheIceMageX50/following{/other_user}","gists_url":"https://api.github.com/users/TheIceMageX50/gists{/gist_id}","starred_url":"https://api.github.com/users/TheIceMageX50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheIceMageX50/subscriptions","organizations_url":"https://api.github.com/users/TheIceMageX50/orgs","repos_url":"https://api.github.com/users/TheIceMageX50/repos","events_url":"https://api.github.com/users/TheIceMageX50/events{/privacy}","received_events_url":"https://api.github.com/users/TheIceMageX50/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-02T22:42:46Z","updated_at":"2015-04-03T19:30:52Z","closed_at":null,"body":"Posted a question [on HTML5 gamedev forum](http://www.html5gamedevs.com/topic/13597-how-to-block-a-function-ie-dont-return-until-tween-finishes/) but unfortunately the one person trying to help so far doesn't have experience with Dart...so I'm wondering if anyone reading this here might know if there's a way to achieve this."},"comment":{"url":"https://api.github.com/repos/playif/play_phaser/issues/comments/89398559","html_url":"https://github.com/playif/play_phaser/issues/30#issuecomment-89398559","issue_url":"https://api.github.com/repos/playif/play_phaser/issues/30","id":89398559,"user":{"login":"TheSneakyNarwhal","id":5177280,"avatar_url":"https://avatars.githubusercontent.com/u/5177280?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSneakyNarwhal","html_url":"https://github.com/TheSneakyNarwhal","followers_url":"https://api.github.com/users/TheSneakyNarwhal/followers","following_url":"https://api.github.com/users/TheSneakyNarwhal/following{/other_user}","gists_url":"https://api.github.com/users/TheSneakyNarwhal/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSneakyNarwhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSneakyNarwhal/subscriptions","organizations_url":"https://api.github.com/users/TheSneakyNarwhal/orgs","repos_url":"https://api.github.com/users/TheSneakyNarwhal/repos","events_url":"https://api.github.com/users/TheSneakyNarwhal/events{/privacy}","received_events_url":"https://api.github.com/users/TheSneakyNarwhal/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T19:30:52Z","updated_at":"2015-04-03T19:30:52Z","body":"Not at my computer right now, but you could make all of the tweens separate and store them in a List<Tween>. Start the first one and when it finishes call the next in that list and make it so that it returns on the last tween onComplete."}}