Collision detecting help

:red: im tring to get a ball were it will touch anything and bounce

off it with collision detecting. can someone tell me how to do this

i really have no clue how to do this.

Allright… That doesn’t explain it very well… Do you want realistic circle physics as in ball bounces off a surface and it bounces to the left because of the angle)… Or do you want it to just bounce? Then you have to specify what for… And typically I like to ask if you’ve tried to do it yourself yet?

i have a game that (well sort of game) anyhow i want the ball so when it touches the box i have(box1) it will gotoAndPlay(1); but i dont know how ot use the hitTest(); command.

There is a tutorial, did you read it?

Search

actually i did read the tutorials like 10 different tutorials.

i actually found out the problem my self i had to put a _root. in front of a script to get it to work