joo

getSpriteRects

joo
Mar 24th, 2019 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. on getSpriteRects
  2. rects = []
  3. repeat with chan = 1 to _movie.lastChannel
  4. if sprite(chan).member.number <> 0 then
  5. rects.add(sprite(chan).rect)
  6. end if
  7. end repeat
  8. return rects
  9. end
Add Comment
Please, Sign In to add comment