URGENT! PLZ HELP. with bounce and reflect

Hey all. I urgentrly need some help. I tried searching but havn’t been able to find anything… :bored:

I just need to get an MC to find the dimensions of the movie, and then choose a direction and when it hits a wall to bounce in a differnt direction untill it hits another wall.

LIke the ball on taht brick game.

Can anyone help me pleez. with anything. if yo have code, sample files, links to a tutorial I’d greatly appreciate it.

Thanks Again,
Limitlis