H5 Forge: detecting object positions

HELP! I need some advice. How do you make something happen when an object is at a certain position? I’m trying to make a soccer map where whenever the soccer ball gets in the red goal, it adds a point to blue but whenever the ball gets in the blue goal, it adds a point to red. I think that it has something to do with scripting and I know some of it but HELP ME PLEASE! :clap::cold_sweat:

I can help? on a map, not even one

> 2535429663000660;2:
> I can help? on a map, not even one

What do you mean