# Sprite collision/gravity within another sprite

**URL:** <https://forum.kirupa.com/t/sprite-collision-gravity-within-another-sprite/275762>\
**Category:** Uncategorized\
**Created:** [November 18, 2008, 2:22pm UTC](https://forum.kirupa.com/t/sprite-collision-gravity-within-another-sprite/275762 "2008-11-18T14:22:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasgerl](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@nasgerl](https://forum.kirupa.com/u/nasgerl)\
**Post date:** [November 18, 2008, 2:22pm UTC](https://forum.kirupa.com/t/sprite-collision-gravity-within-another-sprite/275762/1 "2008-11-18T14:22:55Z")

</div>

I’m doin an assignment based on flash but I jus learnt basic flash bt my assignment has forcen me to script higher than the level tat i had learnt.  
This is roughly my idea:  
 ![](http://forum.kirupa.com/uploads/kirupa/5045/6ab869aa8c4c3144.jpg)  
correction: instead of e edge change color when the ball collide it, the ball will change color when it collide with the edges. I’m realli grateful to those who can teach & help me~ My assignment is due in 2 days time on thurs… Thank you~
