Guest User

Untitled

a guest
Jan 27th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ballUpdate(e:Event){
  2.    
  3.     e.target.acceleration +=0.35;
  4.     e.target.y += e.target.acceleration
  5.    
  6.     if (e.target.y >= stage.stageHeight){
  7.         removeChild(e.target);
  8.     }
  9.    
  10. }
Add Comment
Please, Sign In to add comment